oggm.tasks.process_w5e5_data#
- oggm.tasks.process_w5e5_data(gdir, y0=None, y1=None, output_filesuffix=None)[source]#
Processes and writes the W5E5 baseline climate data for a glacier.
Internally, this is actually calling process_gswp3_w5e5_data but only for the W5E5 part.
data source: https://data.isimip.org/10.48364/ISIMIP.342217 The temperature lapse rate gradient from ERA5dr is added. Same as process_gswp3_w5e5_data, except that y0 is set to 1979 and can not be set to lower values.
Extracts the nearest timeseries and writes everything to a NetCDF file.
- Parameters:
- y0int
the starting year of the timeseries to write. The default is to take the entire time period available in the file (1979-2019), but with this kwarg you can shorten it (to save space or to crop bad data).
- y1int
the end year of the timeseries to write. The default is to take the entire time period available in the file (1979-2019), but with this kwarg you can shorten it (to save space or to crop bad data)
- output_filesuffixstr, optional
None by default