oggm.tasks.process_dem#
- oggm.tasks.process_dem(gdir=None, grid=None, fpath=None, output_filename=None)[source]#
Reads the DEM from the tiff, attempts to fill voids and apply smooth.
The data is then written to gridded_data.nc.
- Parameters:
- gdir
oggm.GlacierDirectory
Where to write the data. If set it overrules grid and fpath.
- grid
salem.gis.Grid
Grid of the DEM file. Needed if gdir is not provided.
- fpathstr
The filepath of the DEM file. Needed if gdir is not provided.
- output_filenamestr
The filename of the nc file to add the DEM to. Defaults to gridded_data
- gdir
Notes
- Files written to the glacier directory:
- gridded_data.nc
A netcdf file containing several gridded data variables such as topography, the glacier masks, the interpolated 2D glacier bed, and more. This is for static, non time-dependant data.