oggm.tasks.volume_inversion

oggm.tasks.volume_inversion(gdir, glen_a=None, fs=None, filesuffix='')[source]

Computes the inversion the glacier.

If glen_a and fs are not given, it will use the optimized params.

Parameters:

gdir : oggm.GlacierDirectory

glen_a : float, optional

the ice creep parameter (defaults to cfg.PARAMS[‘inversion_glen_a’])

fs : float, optional

the sliding parameter (defaults to cfg.PARAMS[‘inversion_fs’])

fs : float, optional

the sliding parameter (defaults to cfg.PARAMS[‘inversion_fs’])

filesuffix : str

add a suffix to the output file

Returns:

Files writen to the glacier directory:

inversion_output.pkl

List of dicts containing the output data from the inversion.