oggm.tasks.process_w5e5_data#
- oggm.tasks.process_w5e5_data(gdir, settings_filesuffix='', y0=None, y1=None, daily=False, output_filesuffix='')[source]#
Processes and writes the W5E5 baseline climate data for a glacier.
Internally, this calls
process_gswp3_w5e5_data, but only for the W5E5 part.y0defaults to 1979 and cannot be set to a lower value. Extracts nearest timeseries and writes everything to a NetCDF file.Data source: https://data.isimip.org/10.48364/ISIMIP.342217
- Parameters:
- gdir
oggm.GlacierDirectory the glacier directory to process
- settings_filesuffix: str
You can use a different set of settings by providing a filesuffix. This is useful for sensitivity experiments. Code-wise the settings_filesuffix is set in the @entity-task decorater.
- y0int, optional
The starting year of the desired timeseries. The default is to take the entire time period available in the file, but with this argument you can shorten it to save space or to crop bad data. If y0>=1979, it only uses W5E5 data.
- y1int, optional
The end year of the desired timeseries. The default is to take the entire time period available in the file, but with this argument you can shorten it to save space or to crop bad data.
- dailybool, default False
Provide data at a daily resolution if True, otherwise provide it at monthly resolution.
- output_filesuffixstr, default ‘’
Used to distinguish between different daily datasets.
- gdir
Notes
- Files written to the glacier directory:
- climate_historical.nc
The historical monthly climate timeseries stored in a netCDF file.