Skip to content

Topohack notebook and topolib usage

Justin Pflug edited this page Jun 21, 2019 · 4 revisions

#Installing the topolib To use the common functions that are under the topolib in a notebook, you first have to install the topolib package. To do this, run the following command:

cd /path/to/topohack

pip install -e .

The -e flag enables live changes to the topolib, without you having to execute this command every time you change some logic.

Notebook Index (ICESat-2 Processing Scripts)

  • IntegratedWkflw.ipynb - downloads ICESat-2 data from NSIDC and snow-free Airborne Snow Observatory 3m DEMs in Tuolumne, CA, then performs initial comparisons between the two datasets
  • NSIDC_sample_download.ipynb - use this to download just ICESat-2 data from NSIDC
  • load_srtm - use this to load in SRTM data
  • << load HP's DEM >>
  • << load ArcticDEM >>
  • profile_elevation - compare ICESat-2 to other elevation datasets
  • drive_anon_example - import data from Google Drive into <<_______>>

Topolib Index

  • init.py - renames download class to IceSat2Data for consistency
  • earth_data.py - adds EarthDara request class
  • gda_lib.py - fixes bug
  • icesat2_data.py - NSIDC data - reformat show_variables request output
  • subsetDat.py - adapted subsetting libraries to use with full pandas dataframe