Skip to main content

Open source python library for glider flight analysis

Project description

OpenSoar

pypi version and link 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.7.tar.gz (31.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: opensoar-0.1.7.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.3

File hashes

Hashes for opensoar-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4701722a5e760bbbc35d434f038f2fc3cf3b5467d16b7bc3f9233986ed57ac04
MD5 ccaf6948d5ff2135a0ad82641fb9a645
BLAKE2b-256 20ecf51e37486850c43d6c00b351cc8599f7ffc5b82d3c99b886f1dd54076f02

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