hydromodpy.calibration.natural_observations#

Natural-observation helpers for network/discharge calibration.

The natural package mirrors the B0 truth-package file layout where possible so existing B0 diagnostics can be reused. The scoring contract is different for the network term: observed hydrography provides a presence/location target, not per-cell drainage fluxes.

Functions

discharge_log_nse_cost(q_sim, q_obs, *[, eps])

Return 1 - NSElog and diagnostics for observed discharge.

natural_network_cost(...[, threshold, ...])

Score simulated permanent drainage against observed hydrography.

score_natural_network_transient_candidate(...)

Score one candidate against a written natural observation package.

write_natural_observation_package(...[, ...])

Write a natural observation package with B0-compatible aliases.

Classes

NaturalNetworkCost(total, components)

Natural network support/location cost and diagnostics.

NaturalObservationPackageSummary(output_dir, ...)

Compact summary returned after writing a natural observation package.