3d-fun / gmbtools

DEM processing and geodetic mass balance calculation for mountain glaciers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gmbtools

Utilities for DEM processing/analysis, calculating geodetic mass balance, and plotting

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.

Generic tools:

  • make_mos.sh - create 2, 8 and 32-m tiled mosaics, count maps, indices, etc. from a set of input DEMs
  • dem_mosaic_validtiles.py - wrapper around ASP dem_mosaic utility to write valid mosaic tiles in parallel
  • mb_parallel.py - parallel computation of geodetic mass balance for a set of input glacier polygons and DEM sources
  • mb_plot.py - create regional mass balance plots for output from mb_parallel
  • dem_gallery.py - create gallery plot for many input DEMs
  • dem_anomaly.py - create anomaly maps and animations
  • lag_dz.py - create Lagrangian Dh/Dt products (adapted from old script, needs refactoring), requires pixel disparity maps created using https://github.com/dshean/vmap

Continental US (CONUS) tools:

  • prism.py - create seasonal PRISM temp and precip products
  • mb_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

Data download and wrangling:

  • get_srtm_tilelist.py and get_srtm_tiles.sh - Identify, download, process and mosaic SRTM tiles
  • get_ned_tiles.sh - Identify, download, process and mosaic NED tiles
  • lidar_proc.sh - clean up WA/OR LiDAR data
  • process_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 raster
  • swe.py - Generate snow-water equivalent maps from input elevation change products
  • get_modscag.py - query and extract MODSCAG fractional snow-covered area (fSCA) products

About

DEM processing and geodetic mass balance calculation for mountain glaciers


Languages

Language:Python 79.9%Language:Shell 20.1%