Open source python library for glider flight analysis
Project description
OpenSoar
The OpenSoar python library is meant to provide open source tooling for glider flight analysis. This may vary from thermal detection to competition scoring.
Installation
pip install opensoar
Reading in files with aerofiles
OpenSoar only performs analyses after the files have been read in. The aerofiles library provides the functionality to read the files.
Example race task
from aerofiles.igc import Reader
from opensoar.competition.soaringspot import get_info_from_comment_lines
from opensoar.task.trip import Trip
with open('example.igc', 'r') as f:
parsed_igc_file = Reader().read(f)
# example.igc comes from soaringspot and contains task inforamtion
task, _, _ = get_info_from_comment_lines(parsed_igc_file)
_, trace = parsed_igc_file['fix_records']
trip = Trip(task, trace)
task_distance_covered = sum(trip.distances)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opensoar-0.1.7.tar.gz
(31.1 kB
view details)
File details
Details for the file opensoar-0.1.7.tar.gz.
File metadata
- Download URL: opensoar-0.1.7.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4701722a5e760bbbc35d434f038f2fc3cf3b5467d16b7bc3f9233986ed57ac04
|
|
| MD5 |
ccaf6948d5ff2135a0ad82641fb9a645
|
|
| BLAKE2b-256 |
20ecf51e37486850c43d6c00b351cc8599f7ffc5b82d3c99b886f1dd54076f02
|