Changeset 631 in tmcsimulator for trunk/webapps/mergelogs.bash


Ignore:
Timestamp:
02/03/2021 06:19:49 AM (5 years ago)
Author:
jdalbey
Message:

appendRatingToLog.py evalratings.csv New files added for #251.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/mergelogs.bash

    r551 r631  
    33# TODO: Add error handling - missing files, not executed from 'trunk', ...  
    44 
    5 # 1. Extract CAD DETAIL lines from incident_script.xml 
     5# 1. Runs a python program named "extract_caddetails"  
     6# to extract CAD DETAIL lines from incident_script.xml 
     7# and creates an output file "caddetails.csv"  
    68PYTHONPATH=webapps/unifiedlogger.zip  python -m extract_caddetails 
     9 
     10# 2. Define a variable for the directory containing the data files 
    711dir="webapps/dynamicdata" 
    8 # 2. Merge the unified log with cad details and evaluation ratings 
     12 
     13# 3. Merge three files: unified log, cad details, and evaluation ratings 
     14# then sort them by timestamp (reverse chronological).   
     15# Final result placed in "unifiedlog_final.csv" 
    916cat $dir/unifiedlog.csv $dir/caddetails.csv $dir/ratings.csv | sort > $dir/unifiedlog_final.csv 
    1017 
     18# 4. Next, launch the webserver and browse to localhost:8080/unifiedlogdisplay.html  
     19#    to show a nicely formatted version of the results. 
     20 
Note: See TracChangeset for help on using the changeset viewer.