hydromodpy.calibration.network_transient_truth#

Truth-package helpers for network/transient calibration prototypes.

Functions

discharge_rmse_cost(q_sim, q_ref, *, alpha_q)

Return RMSE_Q / (alpha_q * Qbar_ref) and diagnostics.

mesh_cell_geometry(vertices, ...)

Return cell centroids and planar areas from UGRID-style mesh arrays.

q_total_release_from_drain_by_cell(drain_by_cell)

Sum positive DRAIN release over all cells for every timestep.

score_network_transient_candidate(truth_dir, ...)

Score one candidate against a written network/transient truth package.

score_network_transient_candidate_from_runs(...)

Score a candidate represented by two catalog Run objects.

write_network_transient_truth_package(...[, ...])

Write the B0 truth package from already extracted arrays.

write_network_transient_truth_package_from_runs(...)

Build a truth package from two catalog Run objects.

Classes

CandidateScore(total, components)

Joint B0 candidate score with per-component diagnostics.

TruthPackageSummary(output_dir, ...)

Compact summary returned after writing a truth package.