Change to Catchment based ouflow delineation
What's Changed
wb id has been replaced with cat id.
Previously, waterbody id was used as the unique identifier for processing the data. The waterbody and everything that flows into it would be added to the selection. The nexus that the selected waterbody flows into would also be added to the selection. This caused incomplete delineation in cases where multiple waterbodies flowed into this final nexus.
In other words, delineation only included waterbodies that merged before entering the catchment area, and exluded those that merged inside the catchment.
This wasn't clear or intuitive when clicking on a catchment on the map.
Now catchment ids are used in place of waterbody ids, and when you click on a catchment or use the cli, everything that contributes to the outflow of that catchment will be included in the selection.
Step by step delineation process comparison
Old (pseudo inflow and incorrect)
- Click on a catchment
- Get the waterbody id for that catchment
- Get everything upstream of that waterbody
- Add just the nexus the waterbody flows into
New Catchment id
- Click on a catchment
- Get the waterbody id for that catchment
- Get the nexus that waterbody flows into (the outlet of that catchment)
- Get everything upstream of that nexus
Full Changelog: v1.4.4...v2.0.0