oggm.tasks.compile_climate_input¶
-
oggm.tasks.
compile_climate_input
(gdirs, path=True, filename='climate_monthly', 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
- filesuffixstr
the filesuffix of the compiled file
- use_compressionbool
use zlib compression on the output netCDF files
- gdirslist of
- Returns
- ds
xarray.Dataset
compiled climate data
- ds