- oggm.tasks.flowline_model_run(gdir, output_filesuffix=None, mb_model=None, ys=None, ye=None, zero_initial_glacier=False, init_model_fls=None, store_monthly_step=False, fixed_geometry_spinup_yr=None, store_model_geometry=None, store_fl_diagnostics=None, water_level=None, evolution_model=<class 'oggm.core.flowline.FluxBasedModel'>, stop_criterion=None, init_model_filesuffix=None, init_model_yr=None, **kwargs)#
Runs a model simulation with the default time stepping scheme.
the glacier directory to process
this add a suffix to the output file (useful to avoid overwriting previous experiments)
a MassBalanceModel instance
start year of the model run (default: from the config file)
end year of the model run (default: from the config file)
if true, the ice thickness is set to zero before the simulation
if you want to start from a previous model run state. Can be combined with init_model_yr
the year of the initial run you want to start from. The default is to take the last year of the simulation.
list of flowlines to use to initialise the model (the default is the present_time_glacier file from the glacier directory)
whether to store the diagnostic data at a monthly time step or not (default is yearly)
whether to store the full model geometry run file to disk or not. (new in OGGM v1.4.1: default is to follow cfg.PARAMS[‘store_model_geometry’])
whether to store the model flowline diagnostics to disk or not. (default is to follow cfg.PARAMS[‘store_fl_diagnostics’])
which evolution model to use. Default: FluxBasedModel
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 The default is to take the water level obtained from the ice thickness inversion.
a function which decides on when to stop the simulation. See run_until_and_store documentation for more information.
kwargs to pass to the FluxBasedModel instance
if set to an integer, the model will artificially prolongate all outputs of run_until_and_store to encompass all time stamps starting from the chosen year. The only output affected are the glacier wide diagnostic files - all other outputs are set to constants during “spinup”
Files written to the glacier directory: