Input dictionary

Input dictionary#

This dictionary is used to fill the Jinja templates in order the finally generate the submitted job script.

For instance, the following line, declared for instance in the tasks.cfg file

echo "the {{ app_conf }} model"

will be converted to

echo "the CROCO model"

The minimal content of this dictionary is the following, in alphabetical order:

Name

Type

Explanation

Example

app_conf

str or None

App configuration name

"MANGA".

app_exp

str or None

App experiment name

"RUN2025".

app_name

str or None

App name

"CROCO".

app_path

str or None

Merged version.

"CROCO/MANGA/RUN2025"

cycle

Cycle or None

Current cycle

cycles_begin_date

WoomDate or None

First date of cycles

Timestamp('2020-01-01 00:00:00')

cycles_end_date

WoomDate or None

Last date of cycles

Timestamp('2020-01-03 00:00:00')

cycles_freq

Timedelta or None

Time step of cycles.

Timedelta('0 days 12:00:00')

cycles_round

str or None

Rounding precision

"D"

logger

logging.Logger

The worflow logger

member

Member or None

Current member

nmembers

int

Ensemble size

5

scratch_dir

str

Path to the scratch dir

"/scratch/username/woom"

task

Task

Task instance

"run_ibc"

task_path

str

{app_path}/{cycle.token}/{task_name}/{member.label}

"CROCO/MANGA/EXP/2020-01-01T12:00:00/run_ibc"

work_dir

str

Path to the work dir

"/work/username/woom"

workflow

Workflow

Workflow instance