hydromodpy.workflow.steps.prepare_solver#

Prepare-solver step decomposed into 3 concerns.

The original 941-LOC monolith now lives in three sibling modules:

  • prepare - persistence helpers (params, mesh, geographic, provenance, forcings).

  • validate - pure validators and artefact discovery helpers (_primary_solver_for_simulation, collect_registration_kwargs, _store_sim_artifacts).

  • dispatch - registration and store opening (step_register_simulation, step_open_store).

The PrepareSolverStep class itself sits in this __init__ so its public import path is preserved (from hydromodpy.workflow.steps.prepare_solver import PrepareSolverStep).

Classes

PrepareSolverStep()

Build the simulation plan + open the store.

Modules

dispatch

Concern 3 of PrepareSolverStep: registration + store opening.

prepare

Concern 1 of PrepareSolverStep: persistence helpers.

validate

Concern 2 of PrepareSolverStep: validation + artefact discovery.