Comments (9)
Hi @davibicudo, just got your email. Would be fine for me if you move the code here and then we can start to generalize it. What would be important for me is that there is a fixed version that we can add as a clear dependency. But this here seems to be set up properly on pip, so it is good to go :)
from matsim-python-tools.
@billyc sure! We also made some local changes which I haven't pushed yet, and the unit test would be nice and is still missing... I'll come back with a new PR with these updates in the following weeks.
from matsim-python-tools.
Hi Billy,
Currently our population is converted from a bunch of CSVs into XML in Java, but we're upgrading our workflow and working on replacing the current scripts with a Python solution. In essence it is similar to the use case of the link above.
My first idea was to adapt that code for our use case, but then I remembered of this project and thought it might be the chance to make something reusable by others in the community. If you agree to it, I'd talk to the owners of that project to allow me to port that code in a generalized form as a PR in here.
from matsim-python-tools.
I definitely agree, it would be great to have some other contributors! And I know the folks on that project too -- collaboration should be easy.
from matsim-python-tools.
Hello! I aim for this Python library to eventually wrap any and all useful MATSim functionality. We're focusing on reading the XML output files now, but writing, setting up configurations, etc, could be tackled in the future.
My next task is to improve the plan reader -- it exposes too much of the XML plumbing right now and we want it to feel more Pythonic.
Is there a specific use case for writing files that you're thinking about? How do you want to integrate MATSim with your Python workflow?
from matsim-python-tools.
Great! It should work quite well :)
I'll let you know the updates.
from matsim-python-tools.
Nice! I'm glad :)
Probably by the end of next week I'll submit a PR for review.
from matsim-python-tools.
@davibicudo -- I'm back from vacation and just merged your PR. Could you provide a tiny example code snippet on how to use the new synpop XML writer?
I'd like to include it in the README and then push out a new release.
from matsim-python-tools.
Done with #8
from matsim-python-tools.
Related Issues (9)
- A question about analysising for the output files.
- A question about analysising for the output files. HOT 1
- About the plan reader HOT 2
- Protobuf import error HOT 1
- Invalid projection HOT 1
- not reading persons when there are no plans HOT 4
- how to you get to the free form person attributes? HOT 2
- A question about analysising for the output files.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matsim-python-tools.