Figure Catalog#
Figures live in hydromodpy.display and consume the persisted
hydromodpy.results.run.Run interface. They are solver-agnostic: the
same figure name can render MODFLOW-NWT, MODFLOW 6, or Boussinesq outputs when
the required result fields exist.
Basic usage#
from hydromodpy.display import get, list_figures
list_figures()
get("piezometric_map").plot(run, save_path="head.png")
From the CLI:
hmp viz show <sim_id> <figure>
hmp viz gallery project.toml
hmp run project.toml --no-display
Registered figure names#
The catalog below is auto-generated from the
hydromodpy.display.list_figures() registry. Each entry shows the figure
name, the title rendered in plots, and the result fields or tables the
figure reads at render time. Run python -m tools.doc_figures to refresh
the partial without rebuilding the rest of the documentation; the Sphinx
build also regenerates it on every run.
Spatial maps#
Mesh- or raster-backed scalar maps of one persisted field.
Figure name |
Title |
Required inputs |
|---|---|---|
|
Concentration |
fields |
|
Water-table elevation |
fields |
|
Recharge map |
fields |
|
Seepage areas |
fields |
|
Simulated active network |
fields |
Cross-sections#
Vertical or transverse cuts through a persisted field.
Figure name |
Title |
Required inputs |
|---|---|---|
|
Head cross-section |
fields |
Time series#
Chronicles read from the catalog timeseries table.
Figure name |
Title |
Required inputs |
|---|---|---|
|
Calibration convergence |
tables |
|
Calibration parameter trace |
tables |
|
Flow-duration curve |
tables |
|
Discharge hydrograph |
tables |
|
Recession analysis |
tables |
|
Seasonal box-plot |
tables |
Budgets and balances#
Integrated budget or mass-balance summaries.
Figure name |
Title |
Required inputs |
|---|---|---|
|
Water budget |
tables |
Particle tracking#
Pathline or particle-track outputs.
Figure name |
Title |
Required inputs |
|---|---|---|
|
Particle pathlines |
fields |
Comparisons and overlays#
Multi-panel views combining one or several runs, observed data, or calibration traces.
Figure name |
Title |
Required inputs |
|---|---|---|
|
Calibration objective landscape |
tables |
|
Calibration objective surface |
tables |
|
Calibration parameter pairs |
tables |
|
Calibration parameter posteriors |
tables |
|
Difference map |
(no fixed input) |
|
Ensemble envelope |
tables |
|
Discharge hydrograph (sim vs obs) |
tables |
|
Hydrographic network comparison |
(no fixed input) |
|
Generated hydrographic network |
(no fixed input) |
|
Generated extra-only view |
(no fixed input) |
|
BD Topage hydrographic network |
(no fixed input) |
|
Reference missing-only view |
(no fixed input) |
|
Piezometric head (sim vs obs) |
tables |
|
Residuals (sim - obs) |
tables |
|
Sim vs obs scatter (1:1) |
tables |
|
Side-by-side map |
(no fixed input) |
|
Simulated active network vs reference |
fields |
|
Watershed identity card |
(no fixed input) |
Hydrochemistry diagrams#
Tabular hydrochemistry diagrams built from water-quality samples.
Figure name |
Title |
Required inputs |
|---|---|---|
|
Piper diagram |
(no fixed input) |
|
Schoeller diagram |
(no fixed input) |
|
Stiff diagram |
(no fixed input) |
Choosing figures in TOML#
Simulation configurations can request report figures through the display section. Exact options depend on the current configuration schema:
[display]
figures = ["piezometric_map", "water_budget", "simulated_active_network"]
Use hmp viz gallery project.toml to rerender all figures after a run,
hmp viz show <sim_id> <figure> to rerender one figure, and
--no-display during hmp run when the workflow should persist results
without rendering report figures.
Compatibility rule#
Figure names are stable entry points, but every figure still depends on data being present in the run store. If a figure cannot render, inspect the run first with:
hmp catalog show <sim_id> --detail
hmp catalog show <sim_id>
For low-level display objects, see API Reference.