Skip to main content

so6-file-converter

Convert SO6 flight traffic files into pandas DataFrames for data analysis.

Installation

pip install so6-file-converter

Requires Python 3.8+ and pandas (installed automatically).

Quick start

from so6_converter import so6_to_df, so6_to_df_simple, so6_to_df_waypoints

# Raw SO6 file, one row per segment
df_raw = so6_to_df("example.so6")

# One row per flight, variables stored as lists
df_simple = so6_to_df_simple("./route1/example.so6")

# One row per waypoint, duplicates removed
df_waypoints = so6_to_df_waypoints(r"C:\Users\folder1\folder2\example.so6")

Paths can be strings or pathlib.Path objects.

All three functions convert coordinates from minutes to decimal degrees and add a country_flow column built from the ICAO prefixes of origin and destination (e.g. EG_LE).

Functions

so6_to_df

Reads a raw SO6 file without altering its structure: one row per segment, so each row contains two waypoints (start and end of the segment).

Columns: segment_id, origin, destination, ac_type, time_ini_seg, time_end_seg, fl_ini, fl_end, status, callsign, date_ini, date_end, lat_ini, lon_ini, lat_end, lon_end, flightid, sequence, segment_length, segment_color, flown_distance (total distance of the flight), country_flow.

Typical uses: initial inspection of SO6 data, custom pipelines built on raw inputs.

so6_to_df_simple

Groups records by flight. Each row is a flight, and lat, long, alt, time and date are lists with the evolution of each variable along the route.

Columns: callsign, flightid, origin, destination, lat, long, alt, time, date, total_distance, ac_type, country_flow.

Typical uses: flight-level trajectory analysis.

so6_to_df_waypoints

Splits each segment into its two waypoints, one per row, and removes duplicates.

Columns: waypoint, callsign, flightid, origin, destination, lat, lon, alt, time, date, country_flow.

Typical uses: route reconstruction, airspace and network analysis, flight path visualization.

Development

pip install -e ".[test]"
pytest

License

MIT

Metadata

Release files for so6-file-converter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for so6-file-converter 0.1.0
File Size Uploaded Provenance Actions
so6_file_converter-0.1.0.tar.gz 4.8 kB With provenance Details for so6_file_converter-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for so6-file-converter 0.1.0
File Interpreter ABI Platform Actions
so6_file_converter-0.1.0-py3-none-any.whl Python 3 none any Details for so6_file_converter-0.1.0-py3-none-any.whl

Total release size: 9.6 kB

Release files / so6_file_converter-0.1.0.tar.gz

Download URL so6_file_converter-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1b99ec26f1260086969a4695c7d1faf1b8f5e7a75ddbc6307d883c434b5e8ce2
BLAKE2b-256 checksum
How to use checksums
dab732c5e4371edb624e22d35128139274ae7c65ac575492382afce617cd4e88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / so6_file_converter-0.1.0-py3-none-any.whl

Download URL so6_file_converter-0.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bf2bc9d1197fa5e69543e0ecc6a5d9c373c48d97cdc46f8474752498c267ee7
BLAKE2b-256 checksum
How to use checksums
c744c6e36caa02ee0cb255252d8aa4b9be9e82ec7c27b9191869f30587646cf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for so6-file-converter 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for so6_file_converter-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page