oggm.tasks.define_glacier_region¶
- oggm.tasks.define_glacier_region(gdir, **kwargs)¶
Very first task: define the glacier’s grid.
Defines the local glacier projection (Transverse Mercator), chooses a resolution for the grid, and transforms the DEM as well as the RGI shape into it.
Parameters: gdir : oggm.GlacierDirectory
entity : geopandas entity
the glacier geometry to process
Returns: Files writen to the glacier directory:
- dem.tif
A geotiff file containing the DEM (reprojected into the local grid).
- glacier_grid.pkl
A salem.Grid handling the georeferencing of the local grid.
- outlines.shp
The glacier outlines in the local projection.