oggm.global_tasks.compile_climate_input#
- 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.
- Parameters
- gdirslist of
oggm.GlacierDirectory
objects the glacier directories to process
- pathstr
where to store (default is on the working dir). Set to False to disable disk storage.
- filenamestr
BASENAME of the climate input files
- input_filesuffixstr
the filesuffix of the files to be compiled
- use_compressionbool
use zlib compression on the output netCDF files
- gdirslist of
- Returns
- ds
xarray.Dataset
compiled climate data
- ds