oggm.global_tasks.calibrate_inversion_from_consensus(gdirs, ignore_missing=True, fs=0, a_bounds=(0.1, 10), apply_fs_on_mismatch=False, error_on_mismatch=True, filter_inversion_output=True, volume_m3_reference=None, add_to_log_file=True)[source]#

Fit the total volume of the glaciers to the 2019 consensus estimate.

This method finds the “best Glen A” to match all glaciers in gdirs with a valid inverted volume.

gdirslist of oggm.GlacierDirectory objects

the glacier directories to process


set this to true to silence the error if some glaciers could not be found in the consensus estimate.


invert with sliding (default: no)

a_bounds: tuple

factor to apply to default A

apply_fs_on_mismatch: false

on mismatch, try to apply an arbitrary value of fs (fs = 5.7e-20 from Oerlemans) and try to optimize A again.

error_on_mismatch: bool

sometimes the given bounds do not allow to find a zero mismatch: this will normally raise an error, but you can switch this off, use the closest value instead and move on.


whether or not to apply terminus thickness filtering on the inversion output (needs the downstream lines to work).


Option to give an own total glacier volume to match to


if the called entity tasks should write into log of gdir. Default True

a dataframe with the individual glacier volumes