hydromodpy.project.phases#
Model-phase adapter verbs used by Project.
Split from hydromodpy.project.facade so the facade keeps the
run/lifecycle API only.
Functions here mutate the Project instance directly and call the
same workflow.steps helpers that the full Pipeline uses. They are not a
second execution engine; they only adapt the shared step logic to the
interactive phase verbs (prepare and the per-phase builders).
Functions
|
Expose the geographic/domain runtime as ready for later phases. |
|
Build the catchment mesh from the current geographic context. |
|
Resolve the config, time grid and data plan, then build an empty ctx. |
|
Resolve the flow solver from the declared process list or solver block. |
|
Synthesize [simulation] from [data.recharge] when it is absent. |
|
Load the external forcings declared in [data]. |
|
Open the SimulationCatalog for this workspace (idempotent). |
|
Rerun the geographic pipeline and invalidate the mesh. |
|
Reload a subset of data variables without touching the others. |
|
Bootstrap shared runtime state for a Project session. |