- oggm.shop.rgitopo.select_dem_from_dir(gdir, dem_source=None, keep_dem_folders=False)#
Select a DEM from the ones available in an RGI-TOPO glacier directory.
the glacier directory
the source to pick from. If ‘RGI’, we assume that there is a dem_source attribute in the RGI file.
the default is to delete the other DEM directories to save space. Set this to True to prevent that (e.g. for sensitivity tests)
- Files written to the glacier directory:
A geotiff file containing the DEM (reprojected into the local grid).This DEM is not smoothed or gap files, and is the closest to the original DEM source.