Add check for adjacent river nodes.
Add check for adjacent river nodes.

Iterate through each river node and find its two closest neighbours. If
those neighbours are also rivers, then merge the discharges and ditch
one of the rivers (i.e. both rivers are put onto the same node). This
should eliminate the problem of having huge discharges due to the weird
way E-HYPE stores its river mouths (some of them seem along way from
where you'd expect them).

This is probably full of bugs, but I think it's OK.

pwcazenave/fvcom-toolbox,pwcazenave/fvcom-toolbox