hydromodpy.reporting.comparison.compact_network.network#

Fallback reference-network helpers (gmsh parsing + external-network metrics).

Functions

distance_metrics_with_external_network(run, ...)

Compute network-distance metrics using an externally supplied reference network.

fallback_reference_network(comparison_root, ...)

Load a reference hydrographic network from any available mesh bundle.

gmsh_physical_lines(mesh_path, *, physical_name)

Parse a gmsh .msh file and return polylines tagged with physical_name.

reference_network_for_run(run, fallback_provider)

Return the catalog reference network if available, else the bundle fallback.