- oggm.tasks.rasterio_glacier_mask(gdir, source=None)[source]#
Writes a 1-0 glacier mask GeoTiff with the same dimensions as dem.tif
the glacier in question
None (default): the task reads dem.tif from the GDir root
‘ALL’: try to open any folder from utils.DEM_SOURCE and use first
any of utils.DEM_SOURCE: try only that one
- Files written to the glacier directory:
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.