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.1.tar.gz (33.9 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.1-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opensoar-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b868ab3856e385c4f58d91baad0c3ae3f63b39d44f314e994352ab5f640c2880
MD5 6fa015baec8ea9fd6d32f5e42f3b66a8
BLAKE2b-256 3cc2e3666ba422be168365a5a6906acf4790c2f1fef22c960691a3506a9a5745

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for opensoar-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32c4a55a5c2134ce3e390decfaa15e97ee43e062e09135fece6b5308feb47207
MD5 95ce4dcef861b2ed979b1fbb4deae9a9
BLAKE2b-256 8494b8fab974b6760767e8446619884b81941540a1e45cfad623e0a04ef531b5

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