oggm.tasks.rasterio_glacier_exterior_mask#
- oggm.tasks.rasterio_glacier_exterior_mask(gdir, overwrite=True)[source]#
Writes a 1-0 glacier exterior mask GeoTiff with the same dimensions as dem.tif
This is the “one” grid point on the glacier exterior (ignoring nunataks). This is useful to know where the terminus might be, for example.
- Parameters:
- gdir
oggm.GlacierDirectory
the glacier in question
- overwritebool
compute even if the file is already there
- gdir
Notes
- Files written to the glacier directory:
- glacier_mask.tif
A glacier mask geotiff file with the same extend and projection as the dem.tif. This geotiff has value 1 at glaciated grid points and value 0 at unglaciated points.