oggm.shop.rgitopo.select_dem_from_dir¶
-
oggm.shop.rgitopo.
select_dem_from_dir
(gdir, dem_source=None, keep_dem_folders=False)[source]¶ Select a DEM from the ones available in an RGI-TOPO glacier directory.
Parameters: - gdir :
oggm.GlacierDirectory
the glacier directory
- dem_source : str
the source to pick from (default: NASADEM and COPDEM)
- keep_dem_folders : bool
the default is to delete the other DEM directories to save space. Set this to True to prevent that (e.g. for sensitivity tests)
Notes
- Files writen to the glacier directory:
- dem.tif
- 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.
- gdir :