Skip to main content

A library for parsing IGC files and extracting thermals

Project description

A simple library to parse IGC logs and extract thermals.

Uses ground speed to detect flight and aircraft bearing rate of change to detect thermalling. Both are smoothed using the Viterbi algorithm.

The code has been battle-tested against a couple hundred thousand IGC files. Detects various anomalies in the logs and marks files as suspicious/invalid, providing an explaination for the decision. If you find an IGC file on which the library misbehaves please open a GitHub issue, we'd be happy to investigate.

Example usage:

  python libigc_demo.py some_file.igc

Should work both on Python 2.7 and on Python 3.

Installation

pip install libigc

Additional information

To publish to PyPI, you'll need to:

  • Register an account on PyPI
  • Install twine: pip install twine
  • Do bumpversion patch --allow-dirty (or minor/major) to update the version number in setup.py
  • Build your distribution: python setup.py sdist bdist_wheel
  • Upload to PyPI: twine upload dist/*

Original author

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

libigc-1.0.3.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

libigc-1.0.3-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file libigc-1.0.3.tar.gz.

File metadata

  • Download URL: libigc-1.0.3.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for libigc-1.0.3.tar.gz
Algorithm Hash digest
SHA256 da36c337004c47211eaf8f5018c9c2da786c6cb4250416a6c9e45ee2b21ccea6
MD5 b0ab1a74ffccef11f03ee0e573f81d4a
BLAKE2b-256 19cec2d50e25b009742902573c0fb9101b6a7d67a51d9b223dc343349d9728fb

See more details on using hashes here.

File details

Details for the file libigc-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: libigc-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for libigc-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 26769b82d9c463b97e6691df3f6ca1894bd2be11437fb707291d0c8baaa8c8a0
MD5 2482f0284a586f6dd80d391d50d4a73f
BLAKE2b-256 f6a33ccf9b17a6b3cd63e014d05cf2f5648d1e66d3468117b4f35e3610ab453e

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