Skip to main content

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

Metadata

Release files for opensoar 2.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opensoar 2.1.3
File Size Uploaded
opensoar-2.1.3.tar.gz 50.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opensoar 2.1.3
File Interpreter ABI Platform
opensoar-2.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 88.6 kB

Release files / opensoar-2.1.3.tar.gz

Download URL opensoar-2.1.3.tar.gz
Size 50.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aca2f145f2f46e219d52e20c6af64ad6af4680e43f57b1c3162f93218ab520e9
BLAKE2b-256 checksum
How to use checksums
bfbae69be6677f84ea388bf3e0046d2e0c4f0241531f6f8177417c5e169a35cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / opensoar-2.1.3-py3-none-any.whl

Download URL opensoar-2.1.3-py3-none-any.whl
Size 38.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4c592ae6baed4cad8d9b3ee3d03024d67f3469c24429b1ef15f03cb8faa66bc
BLAKE2b-256 checksum
How to use checksums
8aec94d0224a3f2e849d50c57781afe317342c686a4d3f6e1948c509161d75fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page