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

Support compressed (gzipped) XML data files #219

Open
brynpickering opened this issue Dec 20, 2023 · 0 comments
Open

Support compressed (gzipped) XML data files #219

brynpickering opened this issue Dec 20, 2023 · 0 comments

Comments

@brynpickering
Copy link
Contributor

Often MATSim input/output XML files are compressed. I just tried genet generate-standard-outputs on the command line with a gzipped network XML and it failed. So I'm assuming GeNet can't handle compressed files.

My initial stab would be to load network files into memory using gzip in gent.input.matsim_reader.read_network if they end in .gz. Similarly for schedule and vehicles (less likely to be compressed?)

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

No branches or pull requests

1 participant