Skip to content
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

Run AGV shortest_path and crossings_to_ribasim #178

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Run AGV shortest_path and crossings_to_ribasim #178

wants to merge 3 commits into from

Conversation

visr
Copy link
Member

@visr visr commented Oct 22, 2024

The shortest path script is modified for AGV to be able to run from the cloud.
I modified crossings_to_ribasim.py a bit so I could run it outside the HKV network. I removed HKV-specific code regarding the P and Z drives for writing results, and only retained the cloud saving. I also removed the symbology writing, I'm not sure what it was like, but if that is really needed it could be brought back if that data is shared. Ribasim Python now writes the default symbology in the GeoPackage. These changes will probably affect @rbruijnshkv though, so good to have a look at that.

I also addressed some warnings and fixed the fact that the Node table was written without a CRS. There are more warnings though. It's best to not filter them out, because mistakes are easily made if they are not addressed.

This does generate a valid AGV model / network (not yet parametrized, only with default values), that does run. I didn't yet compare the outcome to the uploaded models. It is here if you want to look: _repro.zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant