Routing outputs (average channel flow) are way too low, averaging on the order of 10^-18 m3/s, while the official archived Xanthos runs are significantly higher (see below).
Changes Made
It appears that the equation used to convert runoff values from mm/mth to m3/s was incorrect, giving results 10^18 times smaller than expected (perhaps the (1e6 * 10**9) term was supposed to be (1e6 / 10**9)). Re-calculating the conversion from mm/mth -> m3/s gives very different results that more closely match the archived runs.
Additionally, average channel flow was being treated the same as other variables in the output module. Assuming the spatial and temporal conversions were done correctly in the routing module, the special case for average channel flow does two things differently:
Aggregation from monthly to yearly is done with mean instead of sum.
No unit conversions are done, regardless of what the general output unit is set to
Summary
Routing outputs (average channel flow) are way too low, averaging on the order of 10^-18 m3/s, while the official archived Xanthos runs are significantly higher (see below).
Changes Made
It appears that the equation used to convert runoff values from mm/mth to m3/s was incorrect, giving results 10^18 times smaller than expected (perhaps the
(1e6 * 10**9)
term was supposed to be(1e6 / 10**9)
). Re-calculating the conversion from mm/mth -> m3/s gives very different results that more closely match the archived runs.Additionally, average channel flow was being treated the same as other variables in the output module. Assuming the spatial and temporal conversions were done correctly in the routing module, the special case for average channel flow does two things differently:
mean
instead ofsum
.Results
Archived Xanthos Results:
Xanthos Results before this PR:
Xanthos Results after this PR: