oggm.tasks.init_present_time_glacier#

oggm.tasks.init_present_time_glacier(gdir, filesuffix='')[source]#

Merges data from preprocessing tasks. First task after inversion!

This updates the mode_flowlines file and creates a stand-alone numerical glacier ready to run.

Parameters
gdiroggm.GlacierDirectory

the glacier directory to process

filesuffixstr

append a suffix to the model_flowlines filename (e.g. useful for dynamic mu_star calibration including an inversion, so the original model_flowlines are not changed).

Notes

Files written to the glacier directory:
model_flowlines.pkl

List of flowlines ready to be run by the model.