oggm.cfg.add_to_basenames

oggm.cfg.add_to_basenames(basename, filename, docstr='')[source]

Add an entry to the list of BASENAMES.

BASENAMES are access keys to files available at the gdir level.

Parameters
basenamestr

the key (e.g. ‘dem’, ‘model_flowlines’)

filenamestr

the associated filename (e.g. ‘dem.tif’, ‘model_flowlines.pkl’)

docstrstr

the associated docstring (for documentation)