arup-group / elara

Command line utility for processing MATSim events output files.
MIT License
13 stars 4 forks source link

Link speed update #91

Closed sarah-e-hayes closed 3 years ago

sarah-e-hayes commented 3 years ago

Added outputs to the link_vehicle_speeds handler so that it outputs [average, min, max] speeds by [total, subpops]. Tests included. Only thing I'm not happy with is that it outputs the geojson multiple times which takes up a lot of space, but I didn't want to muck around with the global write-out functions.

sarah-e-hayes commented 3 years ago

Thanks Fred. I've had a go at tidying up the if / for logic - what do you think? Is this any better do you think?