oggm.utils.get_rgi_intersects_region_file¶
-
oggm.utils.
get_rgi_intersects_region_file
(region=None, version=None, reset=False)[source]¶ Path to the RGI regional intersect file.
If the RGI files are not present, download them.
- Parameters
- regionstr
from ‘00’ to ‘19’, with ‘00’ being the global file (deprecated). From RGI version ‘61’ onwards, please use get_rgi_intersects_entities with a list of glaciers instead of relying to the global file.
- versionstr
‘5’, ‘6’, ‘61’… defaults the one specified in cfg.PARAMS
- resetbool
If True, deletes the intersect file before redownloading it
- Returns
- str
path to the RGI intersects shapefile