ogs5py.tools.script.add_list_file(list_file, script, typ, ogs_cls_name='model')[source]

Add a listed file to be loaded from a script.

  • list_file (File) – listed file that should be saved and then loaded from the script

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

  • typ (str) – typ of the list file

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