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

  1. Activate the virtual environment

  2. Paste your log folder from the flight test into /logs

  3. Each tool should be runnable using python -m modules.[tool]. Refer to the sections below for instructions about each tool.

  4. 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 file

    • default is /results

  • --document-prefix-name [DOCUMENT_PREFIX_NAME] prefix name to append to the output file

    • output will be [document_prefix_name]_[timestamp].[output file type]

Communication Logs to KML

  1. Run python -m modules.communications_log_to_kml --log-path logs/[LOG FOLDER NAME]

    1. Note: the --log-path option is required for this tool

  2. The KML will appear in /results

Geolocation Logs to KML

  1. Run python -m modules.geolocaiton_log_to_kml --log-path logs/[LOG FOLDER NAME]

    1. Note: the --log-path option is required for this tool

  2. The KML will appear in /results

Log Merger (module merger)

  1. Run python -m modules.merger.log_file_merger_main

    1. Note: This will merge the log files of each flight test in /logs and outputs them as merged_logs.log in its respective folder.

    2. Note: the options --log-path, --output-dir, and document-prefix-name do not work currently.

Extra Options:

  • --overwrite allows overwriting existing merged log files