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
versionstr

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

resetbool

If True, deletes the intersects before redownloading them

Returns
str

path to the directory