oggm.shop.cru.get_cru_file#

oggm.shop.cru.get_cru_file(var=None)[source]#

Returns a path to the desired CRU baseline climate file.

If the file is not present, download it.

Parameters
varstr

‘tmp’ for temperature ‘pre’ for precipitation

Returns
str

path to the CRU file