oggm.tasks.process_custom_climate_data

oggm.tasks.process_custom_climate_data(gdir)[source]

Processes and writes the climate data from a user-defined climate file.

The input file must have a specific format (see oggm-sample-data/test-files/histalp_merged_hef.nc for an example).

Uses caching for faster retrieval.

This is the way OGGM does it for the Alps (HISTALP).

Returns:

Files writen to the glacier directory:

climate_monthly.nc

The monthly climate timeseries for this glacier, stored in a netCDF file.