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.0.1.tar.gz (35.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.0.1-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opensoar-2.0.1.tar.gz
Algorithm Hash digest
SHA256 5ec0df399cce8128f1e2c5253fd5222de412d7309f85d91922dfe3fc3893542d
MD5 fe4e914dfc4201c57ac711ce4355384c
BLAKE2b-256 415f8ed9058788b24b87e413d0b518250733bb872ca2d50c007f001280cba484

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for opensoar-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb64b29e038363d7e6472452ef8c4c98e19cbe1f262e4db3a89d425e6c0f0237
MD5 a2406ac1facecf8fea15adb6ea38bb6e
BLAKE2b-256 b2fdcc7737e8025d0945b6887a566413fe9d7dc4187945b40ff3c55dcc7b53e2

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