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.2.tar.gz (49.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-2.1.2-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opensoar-2.1.2.tar.gz
Algorithm Hash digest
SHA256 8f650709969ad2dea106059a04fffb0efc53854e894e444ef58aa3f6f700c993
MD5 eaa0fda231f831e4ceeec11aff94a70e
BLAKE2b-256 b953a03ad287b5807239b1109a5e1ae135c50536a82d23cf9ab17f4caf43e18f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for opensoar-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a43e18c8eaccbef044298d3fe7af76b114ab42692a31ac3b90718508418b973
MD5 cd3e9b20593f8771dccc73ab0323dcfd
BLAKE2b-256 8904a7c16a07bbfba382df29fd801250563c61f3630780b9f406a58dd55f876a

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