oggm.tasks.process_histalp_data

On this page

oggm.tasks.process_histalp_data#

oggm.tasks.process_histalp_data(gdir, settings_filesuffix='', y0=None, y1=None, output_filesuffix=None)[source]#

Processes and writes the HISTALP baseline climate data for this glacier.

Extracts the nearest timeseries and writes everything to a NetCDF file.

Parameters:
gdiroggm.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

the starting year of the timeseries to write. The default is to take 1850 (because the data is quite bad before that)

y1int

the ending year of the timeseries to write. The default is to take the entire time period available in the file, but with this kwarg you can shorten it (to save space or to crop bad data)

output_filesuffixstr

this adds a suffix to the output file (useful to avoid overwriting previous experiments)

Notes

Files written to the glacier directory:
climate_historical.nc

The historical monthly climate timeseries stored in a netCDF file.