From 7ee6861711514cbb90ba0fc82797753315f3ea91 Mon Sep 17 00:00:00 2001 From: Matthieu Leclair Date: Fri, 13 Dec 2024 18:23:27 +0100 Subject: [PATCH] Split parsing classes between declaration and validation (#63) * split Task and Data classes in parsing in 2 classes: - one for declaration of fields that are needed in core classes - one for pydantic validation This way core classes can inherit from the declaration classes and we avoid duplication. * remove metaclass for core.graph_items.Task this was overkill and has been replaced by an __init_subclass__ class method ---- Co-authored-by: Alexander Goscinski --- src/sirocco/core/_tasks/icon_task.py | 11 +-- src/sirocco/core/_tasks/shell_task.py | 13 +-- src/sirocco/core/graph_items.py | 84 +++++++----------- src/sirocco/parsing/__init__.py | 6 -- src/sirocco/parsing/_yaml_data_models.py | 81 +++++++++-------- tests/files/data/test_config_large.txt | 106 +++++++++++------------ 6 files changed, 134 insertions(+), 167 deletions(-) diff --git a/src/sirocco/core/_tasks/icon_task.py b/src/sirocco/core/_tasks/icon_task.py index 46dd2fe..1e4bbbf 100644 --- a/src/sirocco/core/_tasks/icon_task.py +++ b/src/sirocco/core/_tasks/icon_task.py @@ -1,14 +1,11 @@ from __future__ import annotations -from dataclasses import dataclass, field -from typing import ClassVar, Literal +from dataclasses import dataclass from sirocco.core.graph_items import Task -from sirocco.parsing import ConfigIconTask +from sirocco.parsing._yaml_data_models import ConfigIconTaskSpecs @dataclass -class IconTask(Task): - plugin: ClassVar[Literal[ConfigIconTask.plugin]] = ConfigIconTask.plugin - - namelists: dict = field(default_factory=dict) +class IconTask(ConfigIconTaskSpecs, Task): + pass diff --git a/src/sirocco/core/_tasks/shell_task.py b/src/sirocco/core/_tasks/shell_task.py index 36b4a37..d163e59 100644 --- a/src/sirocco/core/_tasks/shell_task.py +++ b/src/sirocco/core/_tasks/shell_task.py @@ -1,18 +1,11 @@ from __future__ import annotations from dataclasses import dataclass -from typing import ClassVar, Literal from sirocco.core.graph_items import Task -from sirocco.parsing import ConfigShellTask +from sirocco.parsing._yaml_data_models import ConfigShellTaskSpecs @dataclass -class ShellTask(Task): - # plugin: ClassVar[str] = "shell" - plugin: ClassVar[Literal[ConfigShellTask.plugin]] = ConfigShellTask.plugin - - command: str | None = None - command_option: str | None = None - input_arg_options: dict[str, str] | None = None - src: str | None = None +class ShellTask(ConfigShellTaskSpecs, Task): + pass diff --git a/src/sirocco/core/graph_items.py b/src/sirocco/core/graph_items.py index dadafa5..4f99605 100644 --- a/src/sirocco/core/graph_items.py +++ b/src/sirocco/core/graph_items.py @@ -2,14 +2,18 @@ from dataclasses import dataclass, field from itertools import chain, product -from typing import TYPE_CHECKING, Any, ClassVar, Literal, Self +from typing import TYPE_CHECKING, Any, ClassVar, Self -from sirocco.parsing import ConfigBaseTask +from sirocco.parsing._yaml_data_models import ( + ConfigAvailableData, + ConfigBaseDataSpecs, + ConfigBaseTaskSpecs, +) if TYPE_CHECKING: from collections.abc import Iterator - from sirocco.parsing._yaml_data_models import ConfigCycleTask, ConfigTask, DataBaseModel, TargetNodesBaseModel + from sirocco.parsing._yaml_data_models import ConfigBaseData, ConfigCycleTask, ConfigTask, TargetNodesBaseModel @dataclass @@ -19,47 +23,26 @@ class GraphItem: color: ClassVar[str] name: str - coordinates: dict = field(default_factory=dict) - - -class TaskPlugin(type): - """Metaclass for plugin tasks inheriting from Task - - Used to register all plugin task classes""" - - classes: ClassVar[dict[str, type[Task]]] = {} - - def __new__(cls, name: str, bases: tuple, attr: dict): - """Invoked on class definition when used as metaclass. - - name: The name of the class - bases: The base classes from the class - attr: The attributes of the class - """ - plugin = attr["plugin"] - if plugin in cls.classes: - msg = f"Task for plugin {plugin} already set" - raise ValueError(msg) - return_cls = super().__new__(cls, name, bases, attr) - cls.classes[plugin] = return_cls - return return_cls + coordinates: dict @dataclass -class Task(GraphItem, metaclass=TaskPlugin): +class Task(ConfigBaseTaskSpecs, GraphItem): """Internal representation of a task node""" - plugin: ClassVar[Literal[ConfigBaseTask.plugin]] = ConfigBaseTask.plugin + plugin_classes: ClassVar[dict[str, type]] = field(default={}, repr=False) color: ClassVar[str] = field(default="light_red", repr=False) inputs: list[Data] = field(default_factory=list) outputs: list[Data] = field(default_factory=list) wait_on: list[Task] = field(default_factory=list) - host: str | None = None - account: str | None = None - uenv: dict | None = None - nodes: int | None = None - walltime: str | None = None + + def __init_subclass__(cls, **kwargs): + super().__init_subclass__(**kwargs) + if cls.plugin in Task.plugin_classes: + msg = f"Task for plugin {cls.plugin} already set" + raise ValueError(msg) + Task.plugin_classes[cls.plugin] = cls @classmethod def from_config( @@ -76,8 +59,8 @@ def from_config( # use the fact that pydantic models can be turned into dicts easily cls_config = dict(config) del cls_config["parameters"] - if (plugin_cls := TaskPlugin.classes.get(type(config).plugin, None)) is None: - msg = f"Plugin {config.plugin!r} is not supported." + if (plugin_cls := Task.plugin_classes.get(type(config).plugin, None)) is None: + msg = f"Plugin {type(config).plugin!r} is not supported." raise ValueError(msg) new = plugin_cls( @@ -105,32 +88,31 @@ def link_wait_on_tasks(self, taskstore: Store): ) -@dataclass(kw_only=True) -class Data(GraphItem): +@dataclass +class Data(ConfigBaseDataSpecs, GraphItem): """Internal representation of a data node""" - color: ClassVar[str] = "light_blue" + color: ClassVar[str] = field(default="light_blue", repr=False) - type: str - src: str - available: bool + available: bool | None = None # must get a default value because of dataclass inheritence @classmethod - def from_config(cls, config: DataBaseModel, coordinates: dict) -> Self: + def from_config(cls, config: ConfigBaseData, coordinates: dict) -> Self: return cls( name=config.name, type=config.type, src=config.src, - available=config.available, + available=isinstance(config, ConfigAvailableData), coordinates=coordinates, ) -@dataclass(kw_only=True) +@dataclass class Cycle(GraphItem): """Internal reprenstation of a cycle""" - color: str = "light_green" + color: ClassVar[str] = field(default="light_green", repr=False) + tasks: list[Task] @@ -206,10 +188,10 @@ def __iter__(self) -> Iterator[GraphItem]: class Store: - """Container for Array or unique items""" + """Container for GraphItem Arrays""" def __init__(self): - self._dict: dict[str, Array | GraphItem] = {} + self._dict: dict[str, Array] = {} def add(self, item) -> None: if not isinstance(item, GraphItem): @@ -245,8 +227,4 @@ def iter_from_cycle_spec(self, spec: TargetNodesBaseModel, reference: dict) -> I yield from self._dict[spec.name].iter_from_cycle_spec(spec, reference) def __iter__(self) -> Iterator[GraphItem]: - for item in self._dict.values(): - if isinstance(item, Array): - yield from item - else: - yield item + yield from chain(*(self._dict.values())) diff --git a/src/sirocco/parsing/__init__.py b/src/sirocco/parsing/__init__.py index b01ef25..c26b49a 100644 --- a/src/sirocco/parsing/__init__.py +++ b/src/sirocco/parsing/__init__.py @@ -1,13 +1,7 @@ from ._yaml_data_models import ( - ConfigBaseTask, - ConfigIconTask, - ConfigShellTask, load_workflow_config, ) __all__ = [ "load_workflow_config", - "ConfigBaseTask", - "ConfigShellTask", - "ConfigIconTask", ] diff --git a/src/sirocco/parsing/_yaml_data_models.py b/src/sirocco/parsing/_yaml_data_models.py index f8aa16f..1bf7b6c 100644 --- a/src/sirocco/parsing/_yaml_data_models.py +++ b/src/sirocco/parsing/_yaml_data_models.py @@ -1,6 +1,7 @@ from __future__ import annotations import time +from dataclasses import dataclass from datetime import datetime from pathlib import Path from typing import Annotated, Any, ClassVar, Literal @@ -9,9 +10,6 @@ from isoduration.types import Duration # pydantic needs type # noqa: TCH002 from pydantic import BaseModel, ConfigDict, Discriminator, Field, Tag, field_validator, model_validator -# from sirocco.core._tasks.icon_task import IconTask -# from sirocco.core._tasks.shell_task import ShellTask -# from sirocco.core.graph_items import Task from sirocco.parsing._utils import TimeUtils @@ -244,27 +242,21 @@ def check_period_is_not_negative_or_zero(self) -> ConfigCycle: return self -class ConfigBaseTask(_NamedBaseModel): - """ - config for genric task, no plugin specifics - """ - - # this class could be used for constructing a root task we therefore need a - # default value for the plugin as it is not required - # plugin: Literal[Task.plugin] | None = None - plugin: ClassVar[Literal["_BASE_TASK_"]] = "_BASE_TASK_" - parameters: list[str] = Field(default_factory=list) +@dataclass +class ConfigBaseTaskSpecs: host: str | None = None account: str | None = None uenv: dict | None = None nodes: int | None = None walltime: str | None = None - def __init__(self, /, **data): - # We have to treat root special as it does not typically define a command - if "ROOT" in data and "command" not in data["ROOT"]: - data["ROOT"]["command"] = "ROOT_PLACEHOLDER" - super().__init__(**data) + +class ConfigBaseTask(_NamedBaseModel, ConfigBaseTaskSpecs): + """ + config for genric task, no plugin specifics + """ + + parameters: list[str] = Field(default_factory=list) @field_validator("walltime") @classmethod @@ -273,29 +265,46 @@ def convert_to_struct_time(cls, value: str | None) -> time.struct_time | None: return None if value is None else time.strptime(value, "%H:%M:%S") -class ConfigShellTask(ConfigBaseTask): - # plugin: Literal[ShellTask.plugin] +class ConfigRootTask(ConfigBaseTask): + plugin: ClassVar[Literal["_root"]] = "_root" + + +@dataclass +class ConfigShellTaskSpecs: plugin: ClassVar[Literal["shell"]] = "shell" - command: str + command: str = "" command_option: str = "" - input_arg_options: dict[str, str] = Field(default_factory=dict) + input_arg_options: dict[str, str] = Field(default_factory=dict) # noqa: RUF009 Field needed + # for child class doing pydantic parsing src: str | None = None -class ConfigIconTask(ConfigBaseTask): - # plugin: Literal[IconTask.plugin] +class ConfigShellTask(ConfigBaseTask, ConfigShellTaskSpecs): + pass + + +@dataclass +class ConfigIconTaskSpecs: plugin: ClassVar[Literal["icon"]] = "icon" - namelists: dict[str, Any] + namelists: dict[str, str] | None = None + + +class ConfigIconTask(ConfigBaseTask, ConfigIconTaskSpecs): + pass -class DataBaseModel(_NamedBaseModel): +@dataclass +class ConfigBaseDataSpecs: + type: str | None = None + src: str | None = None + format: str | None = None + + +class ConfigBaseData(_NamedBaseModel, ConfigBaseDataSpecs): """ To create an instance of a data defined in a workflow file. """ - type: str - src: str - format: str | None = None parameters: list[str] = [] @field_validator("type") @@ -307,16 +316,12 @@ def is_file_or_dir(cls, value: str) -> str: raise ValueError(msg) return value - @property - def available(self) -> bool: - return isinstance(self, ConfigAvailableData) - -class ConfigAvailableData(DataBaseModel): +class ConfigAvailableData(ConfigBaseData): pass -class ConfigGeneratedData(DataBaseModel): +class ConfigGeneratedData(ConfigBaseData): pass @@ -330,16 +335,16 @@ class ConfigData(BaseModel): def get_plugin_from_named_base_model(data: dict) -> str: name_and_specs = _NamedBaseModel.merge_name_and_specs(data) if name_and_specs.get("name", None) == "ROOT": - return ConfigBaseTask.plugin + return ConfigRootTask.plugin plugin = name_and_specs.get("plugin", None) if plugin is None: - msg = "Could not find plugin name in {data}" + msg = f"Could not find plugin name in {data}" raise ValueError(msg) return plugin ConfigTask = Annotated[ - Annotated[ConfigBaseTask, Tag(ConfigBaseTask.plugin)] + Annotated[ConfigRootTask, Tag(ConfigRootTask.plugin)] | Annotated[ConfigIconTask, Tag(ConfigIconTask.plugin)] | Annotated[ConfigShellTask, Tag(ConfigShellTask.plugin)], Discriminator(get_plugin_from_named_base_model), diff --git a/tests/files/data/test_config_large.txt b/tests/files/data/test_config_large.txt index 6fda4f5..c05bd6d 100644 --- a/tests/files/data/test_config_large.txt +++ b/tests/files/data/test_config_large.txt @@ -8,10 +8,10 @@ cycles: - extpar_file name: 'extpar' coordinates: {} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/extpar' command option: '--verbose' input arg options: {'obs_data': '--input'} @@ -26,10 +26,10 @@ cycles: - icon_input [date: 2025-01-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2025, 1, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -43,10 +43,10 @@ cycles: - icon_restart [date: 2025-01-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2025, 1, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2025-01-01 00:00:00]: input: @@ -55,10 +55,10 @@ cycles: - postout_1 [date: 2025-01-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2025, 1, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -71,9 +71,9 @@ cycles: - stored_data_1 [date: 2025-01-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2025, 1, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -88,10 +88,10 @@ cycles: - icon_input [date: 2025-03-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2025, 3, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -106,10 +106,10 @@ cycles: - icon_restart [date: 2025-03-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2025, 3, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2025-03-01 00:00:00]: input: @@ -118,10 +118,10 @@ cycles: - postout_1 [date: 2025-03-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2025, 3, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -134,9 +134,9 @@ cycles: - stored_data_1 [date: 2025-03-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2025, 3, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -153,10 +153,10 @@ cycles: - icon [date: 2025-01-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2025, 5, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -171,10 +171,10 @@ cycles: - icon_restart [date: 2025-05-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2025, 5, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2025-05-01 00:00:00]: input: @@ -183,10 +183,10 @@ cycles: - postout_1 [date: 2025-05-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2025, 5, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -199,9 +199,9 @@ cycles: - stored_data_1 [date: 2025-05-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2025, 5, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -218,10 +218,10 @@ cycles: - icon [date: 2025-03-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2025, 7, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -236,10 +236,10 @@ cycles: - icon_restart [date: 2025-07-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2025, 7, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2025-07-01 00:00:00]: input: @@ -248,10 +248,10 @@ cycles: - postout_1 [date: 2025-07-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2025, 7, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -264,9 +264,9 @@ cycles: - stored_data_1 [date: 2025-07-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2025, 7, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -283,10 +283,10 @@ cycles: - icon [date: 2025-05-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2025, 9, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -301,10 +301,10 @@ cycles: - icon_restart [date: 2025-09-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2025, 9, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2025-09-01 00:00:00]: input: @@ -313,10 +313,10 @@ cycles: - postout_1 [date: 2025-09-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2025, 9, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -329,9 +329,9 @@ cycles: - stored_data_1 [date: 2025-09-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2025, 9, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -348,10 +348,10 @@ cycles: - icon [date: 2025-07-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2025, 11, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -366,10 +366,10 @@ cycles: - icon_restart [date: 2025-11-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2025, 11, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2025-11-01 00:00:00]: input: @@ -378,10 +378,10 @@ cycles: - postout_1 [date: 2025-11-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2025, 11, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -394,9 +394,9 @@ cycles: - stored_data_1 [date: 2025-11-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2025, 11, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -413,10 +413,10 @@ cycles: - icon [date: 2025-09-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2026, 1, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -431,10 +431,10 @@ cycles: - icon_restart [date: 2026-01-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2026, 1, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2026-01-01 00:00:00]: input: @@ -443,10 +443,10 @@ cycles: - postout_1 [date: 2026-01-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2026, 1, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -459,9 +459,9 @@ cycles: - stored_data_1 [date: 2026-01-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2026, 1, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -478,10 +478,10 @@ cycles: - icon [date: 2025-11-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2026, 3, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -496,10 +496,10 @@ cycles: - icon_restart [date: 2026-03-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2026, 3, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2026-03-01 00:00:00]: input: @@ -508,10 +508,10 @@ cycles: - postout_1 [date: 2026-03-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2026, 3, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -524,9 +524,9 @@ cycles: - stored_data_1 [date: 2026-03-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2026, 3, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -543,10 +543,10 @@ cycles: - icon [date: 2026-01-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2026, 5, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -561,10 +561,10 @@ cycles: - icon_restart [date: 2026-05-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2026, 5, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2026-05-01 00:00:00]: input: @@ -573,10 +573,10 @@ cycles: - postout_1 [date: 2026-05-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2026, 5, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -589,9 +589,9 @@ cycles: - stored_data_1 [date: 2026-05-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2026, 5, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -608,10 +608,10 @@ cycles: - icon [date: 2026-03-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2026, 7, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -626,10 +626,10 @@ cycles: - icon_restart [date: 2026-07-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2026, 7, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2026-07-01 00:00:00]: input: @@ -638,10 +638,10 @@ cycles: - postout_1 [date: 2026-07-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2026, 7, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -654,9 +654,9 @@ cycles: - stored_data_1 [date: 2026-07-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2026, 7, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -673,10 +673,10 @@ cycles: - icon [date: 2026-05-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2026, 9, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -691,10 +691,10 @@ cycles: - icon_restart [date: 2026-09-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2026, 9, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2026-09-01 00:00:00]: input: @@ -703,10 +703,10 @@ cycles: - postout_1 [date: 2026-09-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2026, 9, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -719,9 +719,9 @@ cycles: - stored_data_1 [date: 2026-09-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2026, 9, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -738,10 +738,10 @@ cycles: - icon [date: 2026-07-01 00:00:00] name: 'preproc' coordinates: {'date': datetime.datetime(2026, 11, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 4 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/cleanup.sh' command option: '' input arg options: {'grid_file': '-g', 'extpar_file': '-p', 'ERA5': '-e'} @@ -756,10 +756,10 @@ cycles: - icon_restart [date: 2026-11-01 00:00:00] name: 'icon' coordinates: {'date': datetime.datetime(2026, 11, 1, 0, 0)} - plugin: 'icon' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 40 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=23, tm_min=59, tm_sec=59, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'icon' namelists: {'master': 'path/to/mater_nml', 'model': 'path/to/model_nml'} - postproc_1 [date: 2026-11-01 00:00:00]: input: @@ -768,10 +768,10 @@ cycles: - postout_1 [date: 2026-11-01 00:00:00] name: 'postproc_1' coordinates: {'date': datetime.datetime(2026, 11, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_ocn.sh' command option: '' input arg options: {'stream_1': '--input'} @@ -784,9 +784,9 @@ cycles: - stored_data_1 [date: 2026-11-01 00:00:00] name: 'store_and_clean_1' coordinates: {'date': datetime.datetime(2026, 11, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_1': '--input', 'stream_1': '--stream', 'icon_input': '--icon_input'} @@ -804,10 +804,10 @@ cycles: - postout_2 [date: 2025-01-01 00:00:00] name: 'postproc_2' coordinates: {'date': datetime.datetime(2025, 1, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_atm.sh' command option: '' input arg options: {'stream_2': '--input'} @@ -825,9 +825,9 @@ cycles: - stored_data_2 [date: 2025-01-01 00:00:00] name: 'store_and_clean_2' coordinates: {'date': datetime.datetime(2025, 1, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_2': '--input'} @@ -845,10 +845,10 @@ cycles: - postout_2 [date: 2026-01-01 00:00:00] name: 'postproc_2' coordinates: {'date': datetime.datetime(2026, 1, 1, 0, 0)} - plugin: 'shell' uenv: {'squashfs': 'path/to/squashfs', 'mount_point': 'runtime/mount/point'} nodes: 2 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=5, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/main_script_atm.sh' command option: '' input arg options: {'stream_2': '--input'} @@ -866,9 +866,9 @@ cycles: - stored_data_2 [date: 2026-01-01 00:00:00] name: 'store_and_clean_2' coordinates: {'date': datetime.datetime(2026, 1, 1, 0, 0)} - plugin: 'shell' nodes: 1 walltime: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=1, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) + plugin: 'shell' command: '$PWD/examples/files/scripts/post_clean.sh' command option: '' input arg options: {'postout_2': '--input'} \ No newline at end of file