calculate_mmaster_dh_curves.py

Calculate dH curves from MMASTER dH images, based on shapefiles of glacier outlines.

usage: calculate_mmaster_dh_curves.py [-h] [--glac_mask GLAC_MASK]
                                      [--outlier OUTLIER]
                                      [--pct_comp PCT_COMP]
                                      [--namefield NAMEFIELD]
                                      [--out_folder OUT_FOLDER]
                                      [--plot_curves]
                                      dH_folder basedem glac_outlines

Positional Arguments

dH_folder Path to folder with dH images.
basedem Path to base DEM to use.
glac_outlines Shapefile of glacier outlines

Named Arguments

--glac_mask (optional) raster of glacier outlines with unique values for each glacier
--outlier Value to use as outlier [None]
--pct_comp

Coverage of glacier elevation range curve must cover to be included [0.67]

Default: 0.67

--namefield

Field with identifying glacier name [RGIId]

Default: “RGIId”

--out_folder

Path to write csv files [.]

Default: “.”

--plot_curves

Plot curves of dH(z) for each dDEM for each glacier [False]

Default: “.”