oggm.tasks.flowline_model_run

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, water_level=None, **kwargs)[source]

Runs a model simulation with the default time stepping scheme.

Parameters:
gdir : oggm.GlacierDirectory

the glacier directory to process

output_filesuffix : str

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

mb_model : core.MassBalanceModel

a MassBalanceModel instance

ys : int

start year of the model run (default: from the config file)

ye : int

end year of the model run (default: from the config file)

zero_initial_glacier : bool

if true, the ice thickness is set to zero before the simulation

init_model_fls : []

list of flowlines to use to initialise the model (the default is the present_time_glacier file from the glacier directory)

store_monthly_step : bool

whether to store the diagnostic data at a monthly time step or not (default is yearly)

water_level : float

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.

kwargs : dict

kwargs to pass to the FluxBasedModel instance

Notes

Files writen to the glacier directory: