siliconcreek.net - Siliconcreek.net: The Blog of Andrew Rohne

Description: This is the unfiltered personal website of Andrew Rohne, expert Cube Voyager user, transportation planner, engineer, programmer, ham radio operator, and all-around geek.

programming (6395) transportation (3846) tips (2629) gis (1888) modeling (1432) instruction (1168) tricks (603) cube (486) voyager (188) citilabs (1)

Example domain paragraphs

I ended up in a position where I needed to dump a bunch of TransCAD matrix files to OMX files. This is a useful little script that scans all the matrices in a folder (presuming they use the .mtx file extension) and write them out as matrices.

Anaconda is making me hate Python a little less… only a little. If I’m going to work with ActivitySim (which I am), it’s necessary.

1 The first hack is setting MKL_NUM_THREADS automatically. According to this page , it should be set to one thread to avoid things going nuts (that’s a technical term). Doing this is pretty easy, since Anaconda is setup to run all the scripts in a folder upon activation (there’s a deactivation folder too). To get to this, open the Anaconda prompt and activate the appropriate workspace. Then type echo %conda_prefix% . Copy (highlight and right-click) the resulting path and paste into a Windows Explorer Windo

Links to siliconcreek.net (2)