oggm.tasks.process_cmip_data

oggm.tasks.process_cmip_data(gdir, filesuffix='', fpath_temp=None, fpath_precip=None, **kwargs)[source]

Read, process and store the CMIP5 and CMIP6 climate data for this glacier.

It stores the data in a format that can be used by the OGGM mass balance model and in the glacier directory.

Currently, this function is built for the CMIP5 and CMIP6 projection simulations that are on the OGGM servers.

Parameters:
filesuffix : str

append a suffix to the filename (useful for ensemble experiments).

fpath_temp : str

path to the temp file (default: cfg.PATHS[‘cmip5_temp_file’])

fpath_precip : str

path to the precip file (default: cfg.PATHS[‘cmip5_precip_file’])

**kwargs: any kwarg to be passed to ref:`process_gcm_data`

Notes

Files writen to the glacier directory:
gcm_data.nc
The monthly GCM climate timeseries stored in a netCDF file.