SpinupResult#
| Member | Kind | What it is |
|---|---|---|
n_cycles | property | Number of cycles that ran. |
antecedent_warning | method | Return what to say before this state is used as an antecedent. |
to_dict | method | Return the outcome as JSON: the cycles, restart_from and the warning to give. |
production_sim_id | attribute | Id of the production run chained after the loop (--then-run), else None. |
- class SpinupResult(converged, cycles, restart_from, production_sim_id=None)[source]#
Outcome of a spin-up loop.
restart_fromis the converged (or last) cycle’s Zarr path, ready to feed a production run’s[flow] restart_from.- antecedent_warning()[source]#
Return what to say before this state is used as an antecedent.
A loop that ran out of cycles still hands back its last state, and a production run seeded from it produces a result that looks exactly like one seeded from a settled aquifer. Whoever uses it has to be told.
- to_dict()[source]#
Return the outcome as JSON: the cycles,
restart_fromand the warning to give.A cycle gives its
index,d_headandd_stage.warningisantecedent_warning(),Nonefor a loop that converged.
- converged: bool#
True when a cycle changed the heads and the lake stages by less than the tolerances. False when the loop ran out of cycles first.