oggm.core.flowline.init_present_time_glacier#
- oggm.core.flowline.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
- gdir
oggm.GlacierDirectory
the glacier directory to process
- filesuffixstr
append a suffix to the model_flowlines filename (e.g. useful for dynamic melt_f calibration including an inversion, so the original model_flowlines are not changed).
- gdir
Notes
- Files written to the glacier directory:
- model_flowlines.pkl
List of flowlines ready to be run by the model.