# oggm.cfg.set_intersects_db¶

oggm.cfg.set_intersects_db(path_or_gdf=None)[source]

Set the glacier intersection database for OGGM to use.

It is now set automatically by the oggm.workflow.init_glacier_directories() task, but setting it manually can be useful for a slightly faster run initialization.

See oggm.utils.get_rgi_intersects_region_file() for how to obtain such data.

Parameters: path_or_gdf : str of geopandas.GeoDataframe the intersects file to use