oggm.tasks.process_cmip5_data

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

Read, process and store the CMIP5 climate data 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 projection simulation (https://pcmdi.llnl.gov/mips/cmip5/) from Taylor et al. (2012).

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:
climate_info.pkl
Some information (dictionary) about the climate data and the mass balance parameters for this glacier.
gcm_data.nc
The monthly GCM climate timeseries stored in a netCDF file.