oggm.utils.get_rgi_intersects_dir

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

Path to the RGI directory containing the intersect files.

If the 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 intersects before redownloading them

Returns:
str

path to the directory