Utilities for DEM processing/analysis, calculating geodetic mass balance, analysis and visualization
Developed for the NASA High-mountain Asia Team (HiMAT) and USGS/NPS CONUS glacier programs. Scripts are in various stages of development, and many still have hardcoded paths that need to be cleaned up.
make_mos.sh
- create 2, 8 and 32-m tiled mosaics, count maps, indices, etc. from a set of input DEMsdem_mosaic_validtiles.py
- wrapper around ASP dem_mosaic utility to write valid mosaic tiles in parallelmb_parallel.py
- parallel computation of geodetic mass balance for a set of input glacier polygons and DEM sourcesmb_plot.py
- create regional mass balance plots for output from mb_paralleldem_gallery.py
- create gallery plot for many input DEMsdem_anomaly.py
- create anomaly maps and animationslag_dz.py
- create Lagrangian Dh/Dt products (adapted from old script, needs refactoring), requires pixel disparity maps created using https://github.com/dshean/vmap
prism.py
- create seasonal PRISM temp and precip productsmb_bar_plot.py
- create seasonal/annual mass balance bar plot (currently SCG, should add cumulative panel)conus_site_poly.py
- filter available DEMS for sites of interest and generate time series stack products
get_srtm_tilelist.py
andget_srtm_tiles.sh
- Identify, download, process and mosaic SRTM tiles (updated scripts available here: https://github.com/dshean/nasadem)get_ned_tiles.sh
- Identify, download, process and mosaic NED tileslidar_proc.sh
- clean up WA/OR LiDAR dataprocess_usgs_dem.py
- clean up USGS DEMs generated by M. Fahey from NTM and DG imagery using ERDAS Imagine+LPS
Snowtools repo (moved to https://github.com/dshean/snowtools)
get_snotel.py
- query and extract SNOTEL recordsquery and extract SNOTEL records for arbitrary input rasterswe.py
- Generate snow-water equivalent maps from input elevation change productsget_modscag.py
- query and extract MODSCAG fractional snow-covered area (fSCA) products