Post Processing
Overview
Post Processing contains tools and scripts for processing the logs that the https://uwarg-docs.atlassian.net/wiki/spaces/CV/pages/2236810106 outputs.
Repository:
Software
Setup
Follow the instructions to clone the repository and activate the environment: https://uwarg-docs.atlassian.net/wiki/spaces/CV/pages/2322956558
(Run the setup_project script)
Usage
Activate the virtual environment
Paste your log folder from the flight test into
/logs
Each tool should be runnable using
python -m modules.[tool]
. Refer to the sections below for instructions about each tool.For additional help information, please run
python -m modules.[tool] --help
General Options:
Below are listed the general options, specific options will be listed in each tool section below
--help
display help message--log-path [PATH]
path to log files--output-dir [PATH]
or-o [PATH]
output directory for KML filedefault is
/results
--document-prefix-name [DOCUMENT_PREFIX_NAME]
prefix name to append to the output fileoutput will be
[document_prefix_name]_[timestamp].[output file type]
Communication Logs to KML
Run
python -m modules.communications_log_to_kml --log-path logs/[LOG FOLDER NAME]
Note: the
--log-path
option is required for this tool
The KML will appear in
/results
Geolocation Logs to KML
Run
python -m modules.geolocaiton_log_to_kml --log-path logs/[LOG FOLDER NAME]
Note: the
--log-path
option is required for this tool
The KML will appear in
/results
Log Merger (module merger
)
Run
python -m modules.merger.log_file_merger_main
Note: This will merge the log files of each flight test in
/logs
and outputs them asmerged_logs.log
in its respective folder.Note: the options
--log-path
,--output-dir
, anddocument-prefix-name
do not work currently.
Extra Options:
--overwrite
allows overwriting existing merged log files