oggm.shop.gcm_climate.process_cesm_data#
- oggm.shop.gcm_climate.process_cesm_data(gdir, fpath_temp=None, fpath_precc=None, filesuffix='', output_filesuffix='', fpath_precl=None, **kwargs)[source]#
Processes and writes CESM climate data for this glacier.
This function is made for interpolating the Community Earth System Model Last Millennium 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:
- gdir
oggm.GlacierDirectory
where to write the data
- fpath_tempstr
path to the temp file (default: cfg.PATHS[‘cesm_temp_file’])
- fpath_preccstr
path to the precc file (default: cfg.PATHS[‘cesm_precc_file’])
- fpath_preclstr
path to the precl file (default: cfg.PATHS[‘cesm_precl_file’])
- filesuffixstr
same as output_filesuffix but deprecated.
- output_filesuffixstr
append a suffix to the filename (useful for ensemble experiments).
- **kwargs: any kwarg to be passed to ref:`process_gcm_data`
- gdir
Notes
- Files written to the glacier directory:
- gcm_data.nc
The monthly GCM climate timeseries stored in a netCDF file.