oggm.utils.get_rgi_region_file

oggm.utils.get_rgi_region_file

oggm.utils.get_rgi_region_file(region, version=None, reset=False)[source]

Path to the RGI region file.

If the RGI files are not present, download them.

Parameters
regionstr

from ‘01’ to ‘19’

versionstr

‘5’, ‘6’, 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 shapefile