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.0rc1.tar.gz (31.7 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.0rc1-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opensoar-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 31.7 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 3fe5bc7d497707607fb8d71ed4c25644e0ee339471f017385f1c9a658bdbf378
MD5 70b627e259cf2633b5173a28eb1c7431
BLAKE2b-256 939abbb0b9422e27e5420b269e31284e3bd00358c71b4efc1fb86b71a8ed1fd9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opensoar-1.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 28.6 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.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a5fc57573423c5134bd6567435a66382f3515a81f799dc28c7d5b1c01085760
MD5 c2439c9bb3410a6029b2f8994b6df76e
BLAKE2b-256 4976c92e50fab1ca2a1e5e4635302f9a14ac343984dd4b7db271251d0a399118

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