ogs5py.tools.script.add_load_file

ogs5py.tools.script.add_load_file(load_file, script, ogs_cls_name='model')[source]

Add a file to be loaded from a script.

Parameters
  • load_file (OGSFile) – file that should be saved and then loaded from the script

  • script (stream) – given opened file for the script

  • ogs_cls_name (str) – name of the model within the script