oggm.tasks.init_present_time_glacier#

oggm.tasks.init_present_time_glacier(gdir, filesuffix='', use_binned_thickness_data=False)[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 melt_f calibration including an inversion, so the original model_flowlines are not changed).

use_binned_thickness_databool or str

if you want to use thickness data, which was binned to the elevation band flowlines with tasks.elevation_band_flowine and tasks.fixed_dx_elevation_band_flowline, you can provide the name of the data here to create a flowline for a dynamic model run

Notes

Files written to the glacier directory:
model_flowlines.pkl

List of flowlines ready to be run by the model.