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:
region : str

from ‘01’ to ‘19’

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 shapefile