oggm.shop.gcm_climate.process_cmip_data#

oggm.shop.gcm_climate.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
filesuffixstr

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

fpath_tempstr

path to the temp file

fpath_precipstr

path to the precip file

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

Notes

Files written to the glacier directory:
gcm_data.nc

The monthly GCM climate timeseries stored in a netCDF file.