hydroffice / hyo2_mate

Multibeam Acquisition and Tracking Evaluator [DEPRECATED FOR https://github.com/ausseabed/mate]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note

This repo is DEPRECATED. Go to the new Mate repo.

Mate

AppVeyor Status Travis-CI Status coverall Codacy badge

Installation

Install unit test dependencies:

pip install pytest pytest-cov

Install QAX dependencies (QA JSON parsing and validation):

pip install jsonschema
pip install appdirs
pip install --no-deps -e git+https://github.com/hydroffice/hyo2_abc#egg=hyo2.abc
pip install --no-deps -e git+https://github.com/hydroffice/hyo2_qax#egg=hyo2.qax

Command Line Application

Mate includes a simple command line application. Usage can be displayed as follows:

%> python hyo2/mate/app/cli.py -h

usage: cli.py [-h] -i INPUT [-o OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Path to input QA JSON file
  -o OUTPUT, --output OUTPUT
                        Path to output QA JSON file. If not provided will be
                        printed to stdout.

An example command line is shown below:

python hyo2/mate/app/cli.py --input tests/test_data/input.json --output tests/test_data/test_out.json

Testing

Unit tests can be run as follows:

python -m pytest --cov=hyo2.mate --cov-report=html  tests/

About

Multibeam Acquisition and Tracking Evaluator [DEPRECATED FOR https://github.com/ausseabed/mate]

License:Apache License 2.0


Languages

Language:Python 100.0%