dctools.processing.runner

CLI runner for DC evaluations.

This module centralizes the boilerplate needed to run an evaluation from a YAML config file shipped by the challenge package (dc2/config/*.yaml): - ensure the project root is on sys.path - set HDF5/NetCDF/argopy environment variables early - load CLI args + YAML config into a Namespace - create derived directories (catalogs/results) and paths - run the evaluation with a Dask performance report

Keeping this logic here makes dc2/evaluate.py a thin wrapper.

Functions

resolve_config_path(default_config_name, ...)

Resolve the YAML config path from CLI args (if any) or default.

run_from_cli([default_config_name])

Entry point used by dc2/evaluate.py.

run_from_config(config_path[, ...])

Run an evaluation from a resolved config path.