oggm.utils.get_rgi_dir

On this page

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:
versionstr

‘5’, ‘6’, ‘62’, ‘70G’, ‘70C’ defaults to None (linking to the one specified in cfg.PARAMS)

resetbool

If True, deletes the RGI directory first and downloads the data

Returns:
str

path to the RGI directory