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-2.1.1.tar.gz (47.1 kB view details)

Uploaded Source

Built Distribution

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

opensoar-2.1.1-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opensoar-2.1.1.tar.gz
  • Upload date:
  • Size: 47.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opensoar-2.1.1.tar.gz
Algorithm Hash digest
SHA256 c82c881e524784ddf47cf4b7a6968eaf4803c9cc69c8746c6675b4ea9d8a5a20
MD5 ca9950025b9156aa01fdda1fa472512b
BLAKE2b-256 64940cc6cf8c9560ce797c02db612dbaa5f4ffcb9616a91cf1659ed13ac6b4b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opensoar-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opensoar-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 799a5074cc49e9be8327aca09393a28d72ac9e9b1a0e8fa84c3fcfb430171fa4
MD5 e3a765520900d525fa0fbc34f2b391f9
BLAKE2b-256 c902acb4e278eb710f2a16d438d95c75329dffb33457d98f0aadf6c1610c6ae8

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