package for processing glider flight log data in IGC file format
Project description
IGC-processor
IGC-processor is a package for processing glider flight log data in IGC file format.
Intallation
You can install from PyPI.
pip install igc-processor
How to use
convert to pandas DataFrame
You can convert text data in IGC file format into a pandas DataFrame.
from pathlib import Path
from igc_processor.parser import igc2df
text = Path("your_igc_file_path").read_text()
df = igc2df(text)
detect circling
From the transition of the glider's coordinates, you can calculate the heading and detect whether it is circling.
from igc_processor.circling import compute_heading_transition, detect_circling
df["heading"] = compute_heading_transition(df["latitude"], df["longitude"])
df["is_circling"] = detect_circling(df["heading"])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
igc_processor-0.1.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file igc_processor-0.1.1.tar.gz
.
File metadata
- Download URL: igc_processor-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/6.5.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1d706d0d23c9ecc29950143b5ca825f77bb30a5612f3baccea04691dd4bd53d |
|
MD5 | a65cba15184d16f1989f64a87db41006 |
|
BLAKE2b-256 | a00c7fb1826e31bd3961cdc3de096477779ede2647c82049f43768a9f7016cb8 |
File details
Details for the file igc_processor-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: igc_processor-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/6.5.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e155019d31bc33c5497a5f813d4ffeb9e9885b9e10493b7e63c53e8e3af6cc |
|
MD5 | 3272562d8d0e762632be4ff50990bf96 |
|
BLAKE2b-256 | a2528ed2d92e25968b9fa32532e3209a9095ba36a03d1659902a53700e807edf |