geoprior.scripts.plot_physics_maps#
Plot spatial physics fields.
This script renders a 2×3 panel for a single city:
log10(K) — hydraulic conductivity
log10(Ss) — specific storage
Hd — effective drainage thickness / head depth
log10(tau) — learned relaxation time scale
log10(tau_p) — prior / closure time scale
Δlog10(tau) — log10(tau) − log10(tau_p)
Inputs#
Either:
- --payload PATH
(explicit payload file)
- --src DIR_OR_FILE
(auto-detect physics payload under src)
Optional:
- --coords-npz PATH
(if payload lacks x/y or lon/lat)
The payload is expected to come from
GeoPriorSubsNet.export_physics_payload.
Outputs#
Two files are written:
<out>.png
<out>.svg
Functions
|
|
|
Render and save the physics maps panel. |
|
- geoprior.scripts.plot_physics_maps.plot_physics_maps(payload, meta, *, x, y, city, out, agg, grid, clip_q, delta_q, cmap, cmap_div, coord_kind, dpi, font, show_legend, show_labels, show_ticklabels, show_title, show_panel_titles, show_panel_labels, hatch_censored, title, out_json)[source]#
Render and save the physics maps panel.
- Parameters:
payload (dict)
meta (dict)
x (ndarray)
y (ndarray)
city (str)
out (str)
agg (str)
grid (int)
delta_q (float)
cmap (str)
cmap_div (str)
coord_kind (str)
dpi (int)
font (int)
show_legend (bool)
show_labels (bool)
show_ticklabels (bool)
show_title (bool)
show_panel_titles (bool)
show_panel_labels (bool)
hatch_censored (bool)
title (str | None)
out_json (str | None)
- Return type: