Magic strings#

ERT exposes some magic strings that can be used in your configuration file. These strings will at runtime be replaced with corresponding values, and can be useful if you need to use information such as file paths or experiment information such as realization or iteration number in your workflows or jobs.

Example:

YOUR_WORKFLOW_JOB <RUNPATH_FILE> <CONFIG_PATH>

Will be replaced with something similar to the following at runtime

YOUR_WORKFLOW_JOB /path/to/the/runpath/file/.ert_runpath_list /path/to/config/

In the following we separate between experiment constants, experiment variables and experiment dependent variables. Experiment constants are magic strings that do not change based on the iteration or realization number, while experiment variables will typically be replaced with different values depending on the current iteration or realization index. The dependent variables might also change (depending on whether variables are used in the definition), but the changes directly depend on the changes in the experiment variables.

It should also be noted that experiment variables can only be used with forward model jobs and not with workflows.

List of keywords#

Experiment constants#

Experiment variables#

Warning

The experiment variables cannot be used with workflows, only forward model jobs!

Experiment dependent variables#