oggm.tasks.process_climate_data

On this page

oggm.tasks.process_climate_data#

oggm.tasks.process_climate_data(gdir, y0=None, y1=None, output_filesuffix=None, **kwargs)[source]#

Adds the selected climate data to this glacier directory.

Short wrapper deciding on which task to run based on cfg.PARAMS[‘baseline_climate’].

If you want to make it explicit, simply call the relevant task (e.g. oggm.shop.cru.process_cru_data).

Parameters:
gdiroggm.GlacierDirectory

the glacier directory to process

y0int

the starting 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)

y1int

the starting 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 add a suffix to the output file (useful to avoid overwriting previous experiments)

**kwargs

any other argument relevant to the task that will be called.

Notes

Files written to the glacier directory: