- oggm.tasks.simple_glacier_masks(gdir, write_hypsometry=False)[source]#
Compute glacier masks based on much simpler rules than OGGM’s default.
This is therefore more robust: we use this function to compute glacier hypsometries.
where to write the data
whether to write out the hypsometry file or not - it is used by e.g, rgitools
- Files written to the glacier directory:
A netcdf file containing several gridded data variables such as topography, the glacier masks, the interpolated 2D glacier bed, and more.
A hypsometry file computed by OGGM and provided in the same format as the RGI (useful for diagnostics).