oggm.global_tasks.compile_climate_statistics

oggm.global_tasks.compile_climate_statistics(gdirs, filesuffix='', path=True, add_climate_period=1995)[source]

Gather as much statistics as possible about a list of glaciers.

It can be used to do result diagnostics and other stuffs. If the data necessary for a statistic is not available (e.g.: flowlines length) it will simply be ignored.

Parameters
gdirs: the list of GlacierDir to process.
filesuffixstr

add suffix to output file

pathstr, bool

Set to “True” in order to store the info in the working directory Set to a path to store the file to your chosen location

add_climate_periodint or list of ints

compile climate statistics for the 30 yrs period around the selected date.