Repository navigation
Replies: 1 comment
|
Guten Tag sajjadmv! Thanks for the detailed report. I can’t say for certain what causes this without your data, but here is a quick way to narrow it down. In routing_kinematic.py, when includeWaterBodies is on, every cell with waterBodyID > 0 has its discharge replaced by the lake/reservoir outflow, instead of the kinematic-wave result. A value that matches the basin total in a headwater cell could come from this step. This is only a hypothesis, so please test it: Compare the 147 cells with the cells where waterBodyID > 0 in your water-body map. If the cells match the water-body cells, the cause is probably in the water-body map or its alignment with the river network. You can mask them for calibration, since your gauges are fine. If they don’t match, could you share the coordinates of a few affected cells, plus your LDD and water-body maps? Then we can look at the kinematic solver. Danke schön! |
Uh oh!
There was an error while loading. Please reload this page.
Running CWatM v1.08-197-g368c75c on a flat boreal basin (Oulujoki, Finland; ~1.9 km, 14,227 cells). In discharge_totalavg.nc, 147 cells (1.03%) hold a constant value equal to the total basin discharge (~243 m³/s), scattered across the domain — even on small headwater tributaries with ~2 km² upstream area, where full-basin discharge is physically impossible.
I've ruled out the usual suspects:
LDD sound (single pit; model UpArea matches independent accumulation exactly)
Mass balance conserved (outlet = total runoff; no extra water added)
Artifact doesn't propagate (downstream cells are normal, <10 m³/s)
Independent of NoRoutingSteps, lakes on/off, initial conditions, Manning's n, and DEM filling (415 sinks → 1, same 147 cells)
tanslope / elvstd / slopeLength all normal at these cells
All 15 gauges give reasonable discharge
The constant value and parameter-independent behavior suggest a numerical artifact in the kinematic solver (lib2.kinematic) for certain flat-terrain cells.
Is this known for flat/boreal basins? Safe to ignore for calibration (mass balance holds, gauges clean), or should I mask these cells?
All reactions