oggm.tasks.process_cesm_data

oggm.tasks.process_cesm_data(gdir, filesuffix='', fpath_temp=None, fpath_precc=None, fpath_precl=None)[source]

Processes and writes the climate data for this glacier.

This function is made for interpolating the Community Earth System Model Last Millenial Ensemble (CESM-LME) climate simulations, from Otto-Bliesner et al. (2016), to the high-resolution CL2 climatologies (provided with OGGM) and writes everything to a NetCDF file.

Parameters:

filesuffix : str

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

fpath_temp : str

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

fpath_precc : str

path to the precc file (default: cfg.PATHS[‘gcm_precc_file’])

fpath_precl : str

path to the precl file (default: cfg.PATHS[‘gcm_precl_file’])

Returns:

Files writen to the glacier directory:

cesm_data.nc

The monthly GCM climate timeseries for this glacier, stored in a netCDF file.