oggm.utils.get_rgi_dir¶
-
oggm.utils.
get_rgi_dir
(version=None, reset=False)[source]¶ Path to the RGI directory.
If the RGI files are not present, download them.
Parameters: - version : str
‘5’, ‘6’, defaults to None (linking to the one specified in cfg.PARAMS)
- reset : bool
If True, deletes the RGI directory first and downloads the data
Returns: - str
path to the RGI directory