discharge_evaluation#
Evaluate simulated discharge against observed gauge discharge.
The module loads model and observation time series, matches gauges to simulation outputs, optionally optimizes gauge locations with flow-accumulation data, and computes direct or bootstrapped discharge metrics with hydrograph diagnostics.
Functions#
|
Get observed and model Q data and save it as CSV files to be opened later. |
|
Calculate the statistics for one boostrap selection. |
|
Compare simulated with observed discharge directly or via bootstrapping. |
|
Filter ids by minimum observed years while preserving input order. |
|
Flatten a list. |
|
Generate result dicts with time, id, discharge, and year. |
Get finite discharge metric values grouped for summary tables. |
|
|
Find gauge coordinates by matching reference and simulated catchment area. |
|
Read observed data for one gauge. |
|
Get saved hydrograph PDF files in stable gauge order. |
|
Extract discharge series by nearest river node to gauge coordinates. |
|
Read out simulation data for one gauge. |
|
Load an xarray dataset from disk. |
|
Create CDF plots for alpha, beta, gamma, KGE, and NSE. |
|
Create kde plots of alpha, beta and gamma. |
|
Plot gauge maps for each variable using color-coded points. |
|
Create violin plots for finite discharge metric rows. |