oggm.workflow.invert_from_params

On this page

oggm.workflow.invert_from_params#

oggm.workflow.invert_from_params(gdirs, settings_filesuffix='', input_filesuffix=None, output_filesuffix=None, params_df=None, fs=None, glen_a=None, filter_inversion_output=True, add_to_log_file=True)[source]#

instead of optimising the parameters, get them from a file.

Useful e.g. for pre computed parameters for RGI7.

Parameters:
gdirslist of oggm.GlacierDirectory objects

the glacier directories to process

settings_filesuffix: str

You can use a different set of settings by providing a filesuffix. This is useful for sensitivity experiments.

input_filesuffix: str

The filesuffix of the input inversion flowlines. If None the settings_filesuffix will be used.

output_filesuffix: str

The filesuffix used for saving resulting inversion files to the gdir. If None the settings_filesuffix will be used.

params_dfstr

the dataframe to use (currently regional)

glen_afloat

if params file is not provided, use this value (defaults to cfg.params)

fsfloat

if params file is not provided, use this value

filter_inversion_outputbool

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

Returns:
a dataframe with the individual glacier volumes