oggm.tasks.init_present_time_glacier

oggm.tasks.init_present_time_glacier#

oggm.tasks.init_present_time_glacier(gdir, settings_filesuffix='', input_filesuffix=None, output_filesuffix=None, 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

settings_filesuffix: str

You can use a different set of settings by providing a filesuffix. This is useful for sensitivity experiments. Code-wise the settings_filesuffix is set in the @entity-task decorater.

input_filesuffixstr

the filesuffix of the inversion_input to use (useful for conducting many runs in the same gdir). If None the settings_filesuffix will be used.

output_filesuffixstr

append a suffix to the model_flowlines filename (useful for conducting many runs in the same gdir). If None the settings_filesuffix will be used.

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.