# 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 https://github.com/OGGM/oggm-sample-data test-files/histalp_merged_hef.nc for an example).

This is the way OGGM used to do it for HISTALP before it got automatised.

Parameters
gdiroggm.GlacierDirectory

the glacier directory to process

Notes

Files writen to the glacier directory:
climate_info.pkl

Some information (dictionary) about the climate data and the mass balance parameters for this glacier.

climate_monthly.nc

The monthly climate timeseries stored in a netCDF file.