oggm.utils.get_demo_file

On this page

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 OGGM/oggm-sample-data

Parameters:
fnamestr

Filename of the desired OGGM-sample-file

Returns:
str

Absolute path to the desired file.