pyopmspe11.core.pyopmspe11 module

Main script for pyopmspe11

pyopmspe11.core.pyopmspe11.check_cmdargs(cmdargs: dict[str, str]) None

Validate command-line arguments and incompatible operations.

The checks cover configuration and output names, spatial resolution, reporting times and intervals, comparison mode, and options restricted to data-generation workflows.

Parameters:

cmdargs – Parsed arguments returned by load_parser().

Raises:

SystemExit – If an argument is invalid or an incompatible combination is requested.

pyopmspe11.core.pyopmspe11.load_parser(argv: list[str] | None) dict

CLI arguments

pyopmspe11.core.pyopmspe11.main(argv: list[str] | None = None) None

Main entry point

pyopmspe11.core.pyopmspe11.make_dir(path: str) None

Create directory if missing