rileyhales / river-route

Hydrologic river routing of gridded runoff depths or catchment volumes on vector stream networks
https://river-route.hales.app
BSD 3-Clause Clear License
0 stars 2 forks source link

Option to enforce minimum (and maximum?) Q after iterations #13

Closed rileyhales closed 10 months ago

rileyhales commented 11 months ago

Giving an option to force minimum flows to be >=0 should improve accuracy and improve calculation stability/convergence.

Giving option to enforce maximum flows limit to some arbitrary large number can guarantee that flows are not too large to write to disc if there is a convergence issue or miscalculated inflows. Maybe raise warnings if its not too slow to check for large values first.