Skip to content

dvrpc/tmc-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmc-summarizer

Process raw TMC data into more functional formats.

Live Demo

Here: http://167.172.146.34

The codebase for the demo can be found at dvrpc\tmc-app

image info

Development environment setup:

Create and activate a virtual environment:

(base) $ conda create --name tmc_summarizer python=3.8
(base) $ conda activate tmc_summarizer

Install the third-party requirements:

(tmc_summarizer) $ pip install -r requirements.txt

Install this package in 'edit' mode

(tmc_summarizer) $ pip install -e .

Execute via Python, CLI, or GUI:

In all cases, you'll need the proper python environment activated.

(base) $ conda activate tmc_summarizer
(tmc_summarizer) $

Python

>>> from tmc_summarizer import write_summary_file
>>> write_summary_file("/my/raw/data/folder", "/my/output/folder")

Command Line Interface

Use the tmc summarize command to kick off the script. You need to specify a path where the data can be found.

(tmc_summarizer) $ tmc summarize my/data/

Graphical User Interface

Use the tmc gui command to visually select your data folder.

(tmc_summarizer) $ tmc gui

TODO

✅ match functionality of prototype

✅ add CLI hook

✅ add GUI hook

✅ write Flask-based web app

🔲 write test suite

🔲 test on Windows & Linux

Questions:

Light Vehicles tab has Peds in Crosswalk, while the Heavy Vehicles tab has Bikes in Crosswalk. Is this intentional, or mislabeled data?

About

Process raw TMC data into more functional formats.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •