-
Notifications
You must be signed in to change notification settings - Fork 11
Create network creation script & Update Pixi Environment With Geospatial Packages #129
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
base: main
Are you sure you want to change the base?
Conversation
…with polygons and layers to define regions and network locations. The output is a yaml network.
but it's acting a bit weirdly for the hybrid locomotive, which needs further investigation
…ocstring. Added geospatial packages to pixi to enable network builder.
verified that pixi works as expected
@calbaker Well it worked on my computer........ |
@calbaker I'm not 100% sure what is happening here. It looks like it failed while downloading the elevation data. Could you tell me what folders got created in the elevation data folder? If you have folders with tiff files in it, can you send me the file size for those folders. The co_..... folder for me is 50.7 GB. The tx_..... folder is 62.0 GB for me. This may give us some indication if there was a partial download of the data. If there is a partial download, the problem may be in the seamless-3dep library. It may be worth commenting out the build_network() call down at the bottom and just call the download_elevation() method if there is a partial download of the elevation data. If you see a couple files with a .vrt file extension, the elevation data download did not complete. I hope this is not a mac specific problem. |
@calbaker This may be a rasterio problem. seemless-3dep uses rasterio. This issue below looks to be similar, but I have not read it in detail yet. |
@calbaker checkout this link. https://cars.readthedocs.io/en/stable/troubleshooting_and_faqs.html |
…ectory. It appears to have fixed the pandas import pytz error. Tried ot add some environment variables for GDAL that did not work. It suppressed the error messages, but it caused other errors with pyogrio. Also created a smaller set of networks to create for a unit test. It still takes a bit to run, but it is much better than before.
… issue 129 for details.
…-3dep to 0.2.0 from 0.3.1 fixed the crash.
…taframe should include junction as switches.
…m manager to handle differences between two sim managers.
lots of formatting changes as well
# Conflicts: # pixi.lock
…rly well right now, but it still needs some polishing.
…e in demo to save network to msgpack if it runs succesfully
…REL/altrios into create_network_creation_script
…econd network builder that is threaded and seems much faster, but I don't trust it yet.
…260 to 30 problems.
I have created a network generation script that will create ALTRIOS networks from open data sources. The inputs are two layers in a geopackage. An example geopackage is in the resources/networks folder as an example. The layers are a polygon with defines the regions and a point layer that defines the destinations.
There are few problems to solve yet and items to check.
I wanted to get this drafted so we have it on the radar.
Technical Requirements
Problems/Tasks
solves #128