oggm.tasks.mb_calibration_from_wgms_mb

oggm.tasks.mb_calibration_from_wgms_mb#

oggm.tasks.mb_calibration_from_wgms_mb(gdir, settings_filesuffix='', observations_filesuffix='', **kwargs)[source]#

Calibrate for in-situ, annual MB.

This only works for glaciers which have WGMS data!

For now this just calls mb_calibration_from_scalar_mb internally, but could be cleverer than that if someone wishes to implement it.

Parameters:
gdirGlacierDirectory

the glacier directory to process

settings_filesuffix: str

You can use a different set of settings by providing a filesuffix. This is useful for sensitivity experiments. Code-wise the settings_filesuffix is set in the @entity-task decorater.

observations_filesuffix: str

The observations filesuffix, where the used calibration data will be stored. Code-wise the observations_filesuffix is set in the @entity-task decorater.

**kwargsany kwarg accepted by mb_calibration_from_scalar_mb
except `ref_mb` and `ref_mb_years`

Notes

Files written to the glacier directory:
mb_calib.json

A dict containing the glacier’s mass balance calibration parameters.