Skip to content

Change to Catchment based ouflow delineation

Compare
Choose a tag to compare
@JoshCu JoshCu released this 26 Aug 16:18
· 24 commits to main since this release
35ad58c

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)

  1. Click on a catchment
  2. Get the waterbody id for that catchment
  3. Get everything upstream of that waterbody
  4. Add just the nexus the waterbody flows into

New Catchment id

  1. Click on a catchment
  2. Get the waterbody id for that catchment
  3. Get the nexus that waterbody flows into (the outlet of that catchment)
  4. Get everything upstream of that nexus

Full Changelog: v1.4.4...v2.0.0