oggm.global_tasks.compile_climate_input(gdirs, path=True, filename='climate_historical', input_filesuffix='', use_compression=True)[source]

Merge the climate input files in the glacier directories into one file.

gdirs : list of oggm.GlacierDirectory objects

the glacier directories to process

path : str

where to store (default is on the working dir). Set to False to disable disk storage.

filename : str

BASENAME of the climate input files

input_filesuffix : str

the filesuffix of the files to be compiled

use_compression : bool

use zlib compression on the output netCDF files

ds : xarray.Dataset

compiled climate data