Deals with the execution of the 1D model
Definition at line 75 of file experiment_runner.py.
◆ __init__()
| pyphyex.phyex1d.experiment_runner.ExperimentRunner.__init__ |
( |
| self, |
|
|
| inputfile_or_case, |
|
|
| experiments, |
|
|
| output_dir, |
|
|
| comp_name = DEFAULT_COMP_NAME ) |
:param inputfile_or_case: path to a netCDF driver file or a Case instance
:param experiments: list of dictionaries describing the experiments
allowed keys are:
- class: name of the class (key of PHYSICS_CLASSES,
DEFAULT_CLASS by default) or class implementing
the physics
- grid: Grid name or file name containing a grid description
(with '.grid' extension).
- dt: Timestep (s)
- name: experiment name
- attrs: dictionary of case attributes to override
the other keys are options given to the class (see
physics_options)
:param comp_name: comparison name (DEFAULT_COMP_NAME if empty)
The results are stored in <output_dir>/<comparison tag>/<experiment tag>.hdf5, the
tags being the comparison and experiment names with quotes removed and spaces and
slashes replaced by underscores.
Definition at line 81 of file experiment_runner.py.
◆ _var_legend
| pyphyex.phyex1d.experiment_runner.ExperimentRunner._var_legend = staticmethod(var_legend) |
|
staticprotected |
◆ case
| pyphyex.phyex1d.experiment_runner.ExperimentRunner.case = case |
The documentation for this class was generated from the following file: