-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excessive nodes (+links) remain in final link/node list #10
Comments
"It's a feature, not a bug!" These are called artificial nodes. You can query them with It should not be too hard to craft a function to remove the artificial nodes, and it's been on the back burner for awhile now. I'll add it to the to-do list. |
OK - I will keep this in mind, thanks! |
This issue has been resolved and will be included in the next build of RG. The github repo is up to date as of now. The better approach here was to not add artificial nodes by default, but provide the functionality for the user to do so immediately before computing metrics that required them. The problem with this is that the artificial nodes were ingrained into the directionality algorithms. The implemented solution replaces the artificial node directionality algorithms with a new "parallel links" one that effectively does the same thing. It was tested successfully on the Colville but requires further testing on other deltas/braided rivers. The |
Great! |
I have noticed some extra nodes remain especially around islands. This leads to an extra link around those islands. Not sure what may be causing this (maybe spurs near those islands as well). I will look into it more later and if I find anything will post here as well. These should have been removed during the remove spurs call. Data (shoreline, inlet node, nodes/links jsons, skel) is below the examples:
![image](https://user-images.githubusercontent.com/18738680/77833016-6f043080-70f7-11ea-9f3d-45e77e6d74e8.png)
![image](https://user-images.githubusercontent.com/18738680/77833019-7297b780-70f7-11ea-83db-1445d32e18e2.png)
![image](https://user-images.githubusercontent.com/18738680/77833027-804d3d00-70f7-11ea-8566-622e96901226.png)
Data:
Yukon_GSW_201407.zip
The text was updated successfully, but these errors were encountered: