Skip to main content

Open source python library for glider flight analysis

Project description

OpenSoar

pypi version and link Documentation Status

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

https://raw.githubusercontent.com/Turbo87/aerofiles/master/img/logo.png

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)

Releasing

  • add version number in changelog

  • change __version__ in opensoar/version.py

  • merge to master

  • push tag, ci publishes to pypi

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

opensoar-1.0.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opensoar-1.0.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file opensoar-1.0.0.tar.gz.

File metadata

  • Download URL: opensoar-1.0.0.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for opensoar-1.0.0.tar.gz
Algorithm Hash digest
SHA256 84eb6fc7a42d8923189f2a72331dfc0359b8d2ab6fcbe7e4b5d288b35eee060e
MD5 ca9638a8ec8742293dbd243d9c542359
BLAKE2b-256 8df5c3a662c2a083e2609e815de65ec2b9c2eff3a72e15df87ea2352e1609c99

See more details on using hashes here.

File details

Details for the file opensoar-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: opensoar-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for opensoar-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5cca0ab705f2ea000664c80e19faa13f0e101f11bea5b2d66948ef8756a43c5
MD5 464f3b2ea122f96ca7c7a65f82572a32
BLAKE2b-256 64db4154c7c3fc4b9777cb4ef396ff4bcbba25964df94f592155e360265188c5

See more details on using hashes here.

Supported by

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