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.1.2.tar.gz (34.2 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.1.2-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opensoar-1.1.2.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for opensoar-1.1.2.tar.gz
Algorithm Hash digest
SHA256 06a0b8ba168a1d7da333bf1d745476c75413b81bdb576bb4ad7e3cae9655e7df
MD5 ae2675c07843f8eb0a0ff86f66e1e704
BLAKE2b-256 96e0c712a9547785e893810d9ab4d12413f3330128e0fb122b7f9b27b0d76fa4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opensoar-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for opensoar-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7adf6cbe433f2fc44c9a4dd7ad5a1afeca247965e975b1903522d5304fce7288
MD5 e3830a8609a5b5c2bb61d1703611f50b
BLAKE2b-256 8e5429a6fc4bd6bc0447fca83999f8cbbbfffd96ca0f4970f3a4349a9218428b

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