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

Uploaded Source

File details

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

File metadata

  • Download URL: opensoar-0.1.1.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for opensoar-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8294c8abe18766733d3b77c118582b6a3ca77318b548b8886ada151616d4cd3a
MD5 55e94a4c5196aebe25d4fc4ff1ddb3d4
BLAKE2b-256 2dc494e5a22f741de7060cf81e8cd5346048724f99839225410209609b1885c1

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