Decode-only EUROCONTROL ASTERIX reader: CAT021 (ADS-B) and CAT062 (system tracks) to JSON.
Project description
aviconv-asterix
Decode-only EUROCONTROL ASTERIX reader — part of the aviconv converter family.
Supported categories (pinned editions):
| Category | Content | Edition |
|---|---|---|
| CAT021 | ADS-B Target Reports | 2.6 |
| CAT062 | SDPS System Track Data | 1.20 |
Scope
Decode-only by design. ASTERIX is a binary sensor/tracker wire format; aviconv's job here is getting surveillance data out of binary into typed, JSON-serialisable records. Encoding (building ASTERIX from records) is out of scope.
A decode subset of each category is mapped to typed fields (data
source, times, WGS-84 positions, flight levels, velocities, identity);
every other present data item is still measured via its UAP layout and
preserved hex-encoded in raw_items, so nothing on the wire is
silently dropped. If a record sets an FSPEC bit with no UAP entry
(edition mismatch), that data block is undecodable — the block LEN is
used to resynchronise at the next block (--skip-errors).
Usage
from aviconv_asterix import iter_records
records = list(iter_records(open("radar.ast", "rb").read()))
print(records[0].callsign, records[0].lat, records[0].lon)
CLI (NDJSON, one record per line):
aviconv asterix decode radar.ast
aviconv asterix decode - < radar.ast # binary stdin
aviconv asterix decode radar.ast --skip-errors -o out.ndjson
Licence
MIT. The ASTERIX category specifications are published by EUROCONTROL; this package is not endorsed by or affiliated with EUROCONTROL.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aviconv_asterix-0.0.1.tar.gz.
File metadata
- Download URL: aviconv_asterix-0.0.1.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f4be31fe7425927d1379a81523087831e10a579710010a985eecf9ab0dabd8f
|
|
| MD5 |
2a62f64d53b510fd66891b69ceebe5f7
|
|
| BLAKE2b-256 |
683e50c1ce3b2d737f7c172e62613ed00c2bef00588259c515e4a05ce183a4f0
|
Provenance
The following attestation bundles were made for aviconv_asterix-0.0.1.tar.gz:
Publisher:
release.yml on ams-mmd/aviconv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aviconv_asterix-0.0.1.tar.gz -
Subject digest:
3f4be31fe7425927d1379a81523087831e10a579710010a985eecf9ab0dabd8f - Sigstore transparency entry: 2148996963
- Sigstore integration time:
-
Permalink:
ams-mmd/aviconv@ad80d82f30ce87ddb260aa49d4b2f8655f65d5c4 -
Branch / Tag:
refs/tags/aviconv-asterix-v0.0.1 - Owner: https://github.com/ams-mmd
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ad80d82f30ce87ddb260aa49d4b2f8655f65d5c4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aviconv_asterix-0.0.1-py3-none-any.whl.
File metadata
- Download URL: aviconv_asterix-0.0.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91354fc2f1d45a396451a181fa5e38e648e3d24fd25d46bbf94fcb1781a1da5b
|
|
| MD5 |
3103d7c0eeff9255f5ef9042a493b8f7
|
|
| BLAKE2b-256 |
cc162b6425942e26629804cd08fcef3e2e5024c37dad020c2537f365155363d1
|
Provenance
The following attestation bundles were made for aviconv_asterix-0.0.1-py3-none-any.whl:
Publisher:
release.yml on ams-mmd/aviconv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aviconv_asterix-0.0.1-py3-none-any.whl -
Subject digest:
91354fc2f1d45a396451a181fa5e38e648e3d24fd25d46bbf94fcb1781a1da5b - Sigstore transparency entry: 2148996998
- Sigstore integration time:
-
Permalink:
ams-mmd/aviconv@ad80d82f30ce87ddb260aa49d4b2f8655f65d5c4 -
Branch / Tag:
refs/tags/aviconv-asterix-v0.0.1 - Owner: https://github.com/ams-mmd
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ad80d82f30ce87ddb260aa49d4b2f8655f65d5c4 -
Trigger Event:
push
-
Statement type: