oggm.tasks.find_inversion_calving_from_any_mb#
- oggm.tasks.find_inversion_calving_from_any_mb(gdir, settings_filesuffix='', input_filesuffix='', output_filesuffix='', 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:
- gdir
oggm.GlacierDirectory the glacier directory to calibrate
- 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.
- input_filesuffix: str
the filesuffix used for the inversion flowlines to start
- output_filesuffix:str
the filesuffix used for all outputs
- mb_model
oggm.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
- gdir
Notes
- Files written to the glacier directory:
- diagnostics.json
A dictionary containing runtime diagnostics useful for debugging or logging of run parameters.