Skip to main content

Software for working with data from the BAS twin otter

Project description

# Tools for working with Twin-Otter data

![twinotter](https://github.com/EUREC4A-UK/twin-otter/workflows/twinotter/badge.svg)

## Useful Scripts

$> python -m twinotter.generate_summary <data_directory>

To plot a flight track with altitude:

$> python -m twinotter.plots.basic_flight_track <flight_data_path>

Interactive flight track with leg labelling:

$> python -m twinotter.plots.interactive_flight_track <flight_data_path>

## Install

$> git clone https://github.com/EUREC4A-UK/twin-otter.git $> cd twin-otter $> pip install .

If you are going to modify the code, replace the last line with

$> pip install -e .

Note that installing this package may initially fail due to some issues with cartopy.

You can:

install cartopy first via conda

$> conda install -c conda-forge cartopy

or manually install the cartopy dependencies (Following [this stack overflow answer](https://stackoverflow.com/a/56956172))

$> apt-get install libproj-dev proj-data proj-bin $> apt-get install libgeos-dev $> pip install cython $> pip install cartopy

## Testing

To run tests (which reside in tests/) use pytest:

$> pytest

Tests are automatically run on all commits pushed to github

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twinotter-0.3.0.tar.gz (23.2 kB view hashes)

Uploaded Source

Built Distribution

twinotter-0.3.0-py3-none-any.whl (29.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page