Changeset 671 in tmcsimulator


Ignore:
Timestamp:
09/14/2022 08:16:19 PM (4 years ago)
Author:
jdalbey
Message:

Move merge script.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/bin/postsession_logmerge.bat

    r638 r671  
    33REM TODO: Add error handling - missing files, not executed from 'trunk', ...  
    44 
    5 REM  1. Extract CAD DETAIL lines from incident_script.xml 
     5REM Change to trunk folder 
     6cd ..    
     7 
     8REM 1. Runs a python program named "extract_caddetails"  
     9REM to extract CAD DETAIL lines from incident_script.xml 
     10REM and creates an output file "caddetails.csv" 
    611set PYTHONPATH=webapps\unifiedlogger.zip  python -m extract_caddetails 
     12 
     13REM 2. Define a variable for the directory containing the data files 
    714set dir="webapps\dynamicdata" 
    8 REM 2. Merge the unified log with cad details and evaluation ratings 
    9 type %dir%\unifiedlog.csv %dir%\caddetails.csv %dir%\evalratings.csv w:\web2py\samplelogfile.txt | sort > %dir%\unifiedlog_final.csv 
    1015 
     16REM 3. Merge the unified log with cad details and evaluation ratings 
     17REM then sort them by timestamp (reverse chronological).   
     18REM Final result placed in "sessionlog.csv" 
     19type %dir%\unifiedlog.csv %dir%\caddetails.csv %dir%\evalratings.csv w:\web2py\samplelogfile.txt | sort > %dir%\sessionlog.csv 
     20 
     21 
     22REM 4. Next, launch the webserver and browse to localhost:8080/sessionlogdisplay.html  
     23REM    to show a nicely formatted version of the results. 
     24"C:\Program Files\Mozilla Firefox\firefox.exe"  localhost:8080/sessionlogdisplay.html  & 
     25 
Note: See TracChangeset for help on using the changeset viewer.