Riverscapes / riverscapes-tools

Open-source Python 3.0 tools for the Riverscapes organization
https://tools.riverscapes.net/
GNU General Public License v3.0
11 stars 11 forks source link

metric areas greater than total DGO area in scrape #1024

Open jtgilbert opened 1 month ago

jtgilbert commented 1 month ago

results from select * from vw_metrics where active_area > dgo_area_acres

area_issue

jtgilbert commented 1 month ago

694 rows returned

philipbaileynar commented 1 month ago

The source of the problem is that there are multiple polygons for some DGOs. When we join RCAT DGOAttributes to RME DGOs we have to do it based on level_path and seg_distance because the FIDs can be different between RCAT and RME. But this causes duplicate data when there are multiple DGOs in RCAT with the same level_path and seg_distance. The root cause of the problem is VBET, when it creates weird centrelines and DGO polygons. These cascade to RCAT and all other downstream models.

Example: HUC 0808010105 in Louisiana. Level path 20000200000091 and seg_distance 50 have two DGO records. They are discontinuous polygons, each with their own VBET metrics shown below.

Screenshot 2024-09-24 at 4 23 10 PM

Bottom line. We need to review VBET in these new landscapes, such as the flat, bayou. Here's a satellite and VBET centerlines.

Screenshot 2024-09-24 at 4 24 13 PM

philipbaileynar commented 1 month ago

and here's a video explaining the problem further

https://youtu.be/PeN3z8UAG8Y