MetOffice / dagrunner

⛔[EXPERIMENTAL] Directed acyclic graph (DAG) runner and tools
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Optional global keyword arguments #14

Closed cpelley closed 4 months ago

cpelley commented 4 months ago

Support passing parameter via the graph execution (offering a better alternative than environment and global variable usage)

        dagrunner-execute-graph graph_config.graphs.basic_model.GRAPH \
            --num-workers=${NUM_WORKERS} --verbose --scheduler=${SCHEDULER} \
            --kwargs current_cycle "$CYLC_TASK_CYCLE_POINT:%Y%m%dT%H%MZ" \
            --kwargs datafeed_stage_uk "$DATAFEED_STAGE_UK" \
            --kwargs workflow_run_dir "$CYLC_SUITE_RUN_DIR" \

Issues