PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
pyphyex.phyex1d.experiment_runner.ExperimentRunner Class Reference
Inheritance diagram for pyphyex.phyex1d.experiment_runner.ExperimentRunner:
Collaboration diagram for pyphyex.phyex1d.experiment_runner.ExperimentRunner:

Public Member Functions

 __init__ (self, inputfile_or_case, experiments, output_dir, comp_name=DEFAULT_COMP_NAME)

Public Attributes

 case = case

Static Protected Attributes

 _var_legend = staticmethod(var_legend)

Detailed Description

Deals with the execution of the 1D model

Definition at line 75 of file experiment_runner.py.

Constructor & Destructor Documentation

◆ __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.

Member Data Documentation

◆ _var_legend

pyphyex.phyex1d.experiment_runner.ExperimentRunner._var_legend = staticmethod(var_legend)
staticprotected

Definition at line 79 of file experiment_runner.py.

◆ case

pyphyex.phyex1d.experiment_runner.ExperimentRunner.case = case

Definition at line 109 of file experiment_runner.py.


The documentation for this class was generated from the following file: