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.0rc1.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

opensoar-1.1.0rc1-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file opensoar-1.1.0rc1.tar.gz.

File metadata

  • Download URL: opensoar-1.1.0rc1.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for opensoar-1.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 31829665b3c7b0f3ecb1ffa1ce9f6391e2e2e45e32d14c67d2b303673d734c12
MD5 d2311dc16e9768855fca8627bbdbc1c4
BLAKE2b-256 dc7cace1285e912edb1bab77ab9f0119cfc9ef00ebaf0a1fa6de1c51a974a0ae

See more details on using hashes here.

File details

Details for the file opensoar-1.1.0rc1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for opensoar-1.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 de4eebdfe20551d535b5f038a38b6f26328ecc40eb7686c79ea7f04bb3554eec
MD5 f9c5eedf0b22fdc6a55fef7c7d40b6ef
BLAKE2b-256 6efec00f3ace01b91df22b8545f83c63ba5b226b5b0dd69df782f1448435f8ed

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