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

Uploaded Source

Built Distribution

opensoar-1.1.3-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opensoar-1.1.3.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for opensoar-1.1.3.tar.gz
Algorithm Hash digest
SHA256 9563bd2510d4f2388aab5b8937b35e900087e13957c31977dfcf0311f591e2d2
MD5 171c8093a621f0486ddf9ea55c344dff
BLAKE2b-256 5b46678dd6f89842e46843232d9ff0574314520a4b9eae639d17b10bdad7caf3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for opensoar-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 35169b2346d275749da7c5bb429f5512c4577e046be80b0ec3a201b5a2d1232f
MD5 6866dfdb32d298653e13e9b34a530aee
BLAKE2b-256 5d4c66fc8895e396f09b18b81c1a60ef4e21429e679e8de4e8fb5e022e89f028

See more details on using hashes here.

Supported by

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