oggm.utils.get_cru_file

oggm.utils.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:
var : str

‘tmp’ for temperature ‘pre’ for precipitation

Returns:
str

path to the CRU file