oggm.tasks.distribute_climate_data

oggm.tasks.distribute_climate_data(gdirs)

Reads the climate data and distributes to each glacier.

Generates a NetCDF file in the root glacier directory (climate_monthly.nc) It contains the timeseries of temperature, temperature gradient, and precipitation at the nearest grid point. The climate data reference height is provided as global attribute.

Not to be multi-processed.

Parameters:gdirs: list of oggm.GlacierDirectory objects