oggm.utils.get_demo_file

oggm.utils.get_demo_file(fname)[source]

Returns the path to the desired OGGM-sample-file.

If Sample data is not cached it will be downloaded from https://github.com/OGGM/oggm-sample-data

Parameters
fnamestr

Filename of the desired OGGM-sample-file

Returns
str

Absolute path to the desired file.