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:
dataset : str

‘ERA5’, ‘ERA5L’, ‘CERA’

var : str

‘inv’ for invariant ‘tmp’ for temperature ‘pre’ for precipitation

Returns:
str

path to the file