oggm.tasks.find_inversion_calving_from_any_mb#

oggm.tasks.find_inversion_calving_from_any_mb(gdir, mb_model=None, mb_years=None, water_level=None, glen_a=None, fs=None)[source]#

Optimized search for a calving flux compatible with the bed inversion.

See Recinos et al. (2019) for details. This task is an update to find_inversion_calving but acting upon the MB residual (i.e. a shift) instead of the model temperature sensitivity.

Parameters
mb_modeloggm.core.massbalance.MassBalanceModel

the mass balance model to use

mb_yearsarray

the array of years from which you want to average the MB for (for mb_model only).

water_levelfloat

the water level. It should be zero m a.s.l, but: - sometimes the frontal elevation is unrealistically high (or low). - lake terminating glaciers - other uncertainties With this parameter, you can produce more realistic values. The default is to infer the water level from PARAMS[‘free_board_lake_terminating’] and PARAMS[‘free_board_marine_terminating’]

glen_afloat, optional
fsfloat, optional

Notes

Files written to the glacier directory:
diagnostics.json

A dictionary containing runtime diagnostics useful for debugging or logging of run parameters.