Comments (4)
If would be really cool to use the skim manifest file from #1 to iterate through the exports. This would eliminate duplicate naming of the skim files in the scripts making updates easier and less error prone.
from client_arc_activitysim.
I was able to use the sample script linked above to export the Cube skim to OMX skim. One highway skim with three core took 1.75 minute. Cube 6.4.3 was needed as mentioned in the page (did not work in Cube 6.4.2).
I am thinking of writing a Python script to read the manifest file and write a Cube script to export all the skims, similar to what is done in SFCTA CHAMP model. Any suggestions?
from client_arc_activitysim.
I don't really like building scripts dynamically unless absolutely necessary. They are really hard to debug and test. Here are two ideas, I don't know if either would work, but consider evaluating before going down the dynamic scripting:
-
Read in the manifest csv in Cube script and iterate over it in Cube. I know reading a CSV in Cube is a pain, but it would save you from a dynamic script.
-
I don't have the Cube documentation, but take a look at Blocks sections in the cube scripting. Here is an example of blocks in the MTC transit assignment that I did last year. Could you create a master script and just build dynamically the pieces you need?
If these options are not plausible, then go down the dynamic scripting route. I could also be missing something, so feel free to share the SFCTA script too.
from client_arc_activitysim.
Okay, I will try approach #1, reading directly in a Cube script.
SFCTA CHAMP controls everything from Python, so it is a different approach. Here is a sample script.
from client_arc_activitysim.
Related Issues (13)
- Identify All Necessary Skims HOT 4
- Coveralls
- Create a Small Matrix Set HOT 1
- shortWalkOrig Value: Anything Other Than 1? HOT 2
- Tour Mode Choice Coefficients HOT 7
- Retail Employment (retEmp30) HOT 1
- Auto Ownership DMU Definitions HOT 1
- Identify Minimum Inputs Necessary to Run ARC Accessibilities HOT 4
- Add Accessibility Inputs to HDF5 HOT 1
- Implement Accessibilities HOT 2
- Write Test to Verify Consistency in Accessibilities Calculation HOT 2
- Setup Travis
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 client_arc_activitysim.