oggm.tasks.mass_conservation_inversion

oggm.tasks.mass_conservation_inversion#

oggm.tasks.mass_conservation_inversion(gdir, settings_filesuffix='', input_filesuffix='', output_filesuffix='', glen_a=None, fs=None, write=True, water_level=None, t_lambda=None)[source]#

Compute the glacier thickness along the flowlines

More or less following Farinotti et al., (2009).

Parameters:
gdiroggm.GlacierDirectory

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.

input_filesuffix: str

the filesuffix of the inversion_input to use (useful for conducting many runs in the same gdir)

output_filesuffixstr

this add a suffix to the output file (useful to avoid overwriting previous experiments)

glen_afloat

glen’s creep parameter A. Defaults to gdir.settings.

fsfloat

sliding parameter. Defaults to gdir.settings.

write: bool

default behavior is to compute the thickness and write the results in the pickle. Set to False in order to spare time during calibration.

water_levelfloat

to compute volume below water level - adds an entry to the output dict

t_lambdafloat

defining the angle of the trapezoid walls (see documentation). Defaults to gdir.settings.

Notes

Files written to the glacier directory:
inversion_output.pkl

List of dicts containing the output data from the inversion.