oggm.tasks.process_modera_data#
- oggm.tasks.process_modera_data(gdir, fpath_temp=None, fpath_precip=None, y0=None, y1=None, year_range=('1901', '2000'), ensemble_member=None, output_filesuffix='', **kwargs)[source]#
Read, process and store the ModE-RA climate data for this glacier.
ModE-RA data was downloaded from WDCC and added to the cluster for easy download.
Data contains anomalies with respect to the period 1901-2000.
- Parameters:
- fpath_tempstr
path to the precip file. Defaults to the ensemble statistics on server or ensemble member on server.
- fpath_precipstr
path to the precip file. Defaults to the ensemble statistics on server or ensemble member on server.
- y0int
start year of the data processing. Default is None which processes the entire timeseries. Set this to make process_cmip_data faster if you can afford a shorter period.
- y1int
end year of the data processing. Default is None which processes the entire timeseries. Set this to make process_cmip_data faster if you can afford a shorter period.
- year_rangetuple of str
the year range for which you want to compute the anomalies. We default to the period 1901-2000 which is the reference period for the anomalies.
- ensemble_memberint
the ensemble member to use (default is the ensemble mean). An integer between 0 and 19.
- output_filesuffixstr
append a suffix to the filename (useful for ensemble experiments).
- **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.