oggm.shop.ecmwf.get_ecmwf_file#
- oggm.shop.ecmwf.get_ecmwf_file(dataset='ERA5', var=None)[source]#
Returns a path to the desired ECMWF baseline climate file.
If the file is not present, download it.
- Parameters:
- datasetstr
‘ERA5’, ‘ERA5L’, ‘CERA’, ‘ERA5L-HMA’, ‘ERA5dr’
- varstr
‘inv’ for invariant ‘tmp’ for temperature ‘pre’ for precipitation
- Returns:
- str
path to the file