geoprior.scripts.plot_external_validation#
Plot point-support external validation of inferred effective fields.
Panels#
Zhongshan H_eff field with borehole / pumping-test locations (SW1–SW5) and matched pixels.
Borehole-derived compressible thickness vs model H_eff.
Late-step specific capacity vs model effective K.
Inputs#
site-level validation table (.csv or .xlsx)
full_inputs.npz
physics_payload_fullcity.npz
optional coord scaler (.joblib)
Outputs#
<out>.png
<out>.svg
optional summary JSON
Functions
|
|
|
Disable Matplotlib offset/scientific-offset text on linear axes. |
|
|
|
|
|
|
|
|
|
Load an optional boundary polyline/polygon. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- geoprior.scripts.plot_external_validation.load_boundary_xy(path)[source]#
Load an optional boundary polyline/polygon.
Preferred behaviour: - if nat.com.utils exposes load_boundary_xy(), use it - otherwise fall back to CSV/XLSX with x/y-like columns
Accepted fallback column names: x, x_m, coord_x y, y_m, coord_y
NaN rows are preserved so multi-part boundaries can be drawn with line breaks.
- geoprior.scripts.plot_external_validation.apply_no_offset(ax, *, x=True, y=True)[source]#
Disable Matplotlib offset/scientific-offset text on linear axes.
- geoprior.scripts.plot_external_validation.build_pixel_table(inputs_npz, payload_npz, coord_scaler_path, horizon_reducer, site_reducer)[source]#
- geoprior.scripts.plot_external_validation.annotate_sites(ax, df, *, x_col, y_col, label_col='well_id', fontsize=8)[source]#
- geoprior.scripts.plot_external_validation.plot_external_validation(*, site_csv, full_inputs_npz, full_payload_npz, coord_scaler, out, out_json, horizon_reducer, site_reducer, grid_res, dpi, font, city, show_legend, show_labels, show_ticklabels, show_title, show_panel_titles, title, boundary, paper_format, paper_no_offset)[source]#
- Parameters:
site_csv (str)
full_inputs_npz (str)
full_payload_npz (str)
coord_scaler (str | None)
out (str)
out_json (str | None)
horizon_reducer (str)
site_reducer (str)
grid_res (int)
dpi (int)
font (int)
city (str)
show_legend (bool)
show_labels (bool)
show_ticklabels (bool)
show_title (bool)
show_panel_titles (bool)
title (str | None)
boundary (str | None)
paper_format (bool)
paper_no_offset (bool)
- Return type:
None