Skip to main content

Open source python library for glider flight analysis

Project description

OpenSoar

Build status 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)

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-0.1.2.tar.gz (30.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: opensoar-0.1.2.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for opensoar-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3a1bf05e26a1d7a0cfdbb9dc1e60dc8d4263f33aa2e92b7bbb4f196af80719d0
MD5 45de39e56ad1b15641f29ecdaacb393a
BLAKE2b-256 168776b3963c0f4849cacb655c8f3acfd43361ac9ea770aeac976da256c9d6ad

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