Real geoveil-cn0 output · BOR1 (EPN) · 31 December 2025 · interactive version
geoveil-cn0
High-performance GNSS signal quality analysis — Rust core, Python API
Analyze RINEX observation files to compute signal quality scores, detect threats (jamming, spoofing, interference), generate per-constellation statistics, and produce skyplot data. Used in production at Romanian national geodetic network (ROMPOS), precision agriculture, and GNSS security research.
Features
|
🛡️ Threat Detection Jamming · Spoofing · Interference Three independent detectors Visibility-based spoofing (new in 0.3.8) |
📊 Quality Scoring Composite 0–100 score 5 weighted components A–F letter grade |
🌍 6 Constellations GPS · GLONASS · Galileo BeiDou · QZSS · NavIC Per-constellation stats |
|
⚡ Rust Performance 0.14–2.6 s per 24 h file Zero Python dependencies ThreadPool-parallel batches |
📡 RINEX Support v2.x / v3.x / v4.x Broadcast navigation Visibility prediction |
🔬 Full API JSON export · Timeseries Skyplot data · Anomaly list Desktop GUI script included |
Quality score and components from analyze_with_nav · BUCU (Bucharest) · 1 h at 1 Hz
Mean CN0 by elevation per constellation · BOR1 · 24 h at 30 s
Installation
pip install geoveil-cn0
No Rust toolchain required — pre-built wheels for Linux (x86_64 + ARM/piwheels), Windows, and macOS. Python 3.9–3.12.
Quick Start
from geoveil_cn0 import AnalysisConfig, CN0Analyzer
config = AnalysisConfig(
min_elevation=10.0, # mask angle, degrees
time_bin_seconds=60, # 1-minute bins
anomaly_sensitivity=0.5, # 0.0 = permissive, 1.0 = strict
interference_threshold_db=6.0,
)
analyzer = CN0Analyzer(config)
result = analyzer.analyze_file("COST00ROU_R_20260980000_01D_30S_MO.rnx")
q = result.quality_score
print(f"Quality score : {q.overall:.1f} / 100 ({q.rating})")
print(f"Jamming : {'DETECTED' if result.jamming_detected else 'clean'}")
print(f"Spoofing : {'DETECTED' if result.spoofing_detected else 'clean'}")
print(f"Interference : {'DETECTED' if result.interference_detected else 'clean'}")
print(f"Satellites : {result.total_satellites} tracked")
print(f"Constellations: {', '.join(result.get_systems())}")
geoveil-cn0 reads plain RINEX. Decompress Hatanaka (.crx, .??d) and gzip files first, for example with the hatanaka package: hatanaka.decompress_on_disk("file.crx.gz").
Spoofing: visibility-based detection (new in 0.3.8)
# Requires navigation file for ephemeris comparison
result = analyzer.analyze_with_nav(
"COST00ROU_R_20260408_0100_30S_MO.rnx",
"BRDC00IGS_R_20260408_01D_MN.rnx",
)
if result.has_visibility_prediction:
print(f"Confirmation rate: {result.visibility_confirmation_rate:.0f}%")
print(f"Unexpected sats : {result.visibility_mean_unexpected:.1f}")
print(f"Missing sats : {result.visibility_mean_missing:.1f}")
Architecture
flowchart LR
A["RINEX obs\n.rnx / .??o"] --> C
B["BRDC nav\n.nav/.rnx"] --> C
C["CN0Analyzer\nRust core"] --> D["Quality Score\n0–100"]
C --> E["Threat Flags\nJam/Spoof/Interf"]
C --> F["Visibility\nPrediction"]
C --> G["Timeseries\nCN0 per bin"]
C --> H["Skyplot\nAz/El tracks"]
D & E & F & G & H --> I["AnalysisResult\nJSON / Python API"]
Performance
Public IGS files from 31 December 2025, plain RINEX, one core of an Intel Xeon E5-2620 v3 (2014), median of three runs, min_elevation=10, 60 s bins:
| File | Size | Epochs × sats | analyze_file |
analyze_with_nav |
Peak memory |
|---|---|---|---|---|---|
| RINEX 2.11 · 24 h · 30 s · ZIMM (GPS) | 5.4 MB | 2,880 × 32 | 0.14 s | 4.31 s | 104 MB |
| RINEX 3.02 · 24 h · 30 s · BOR1 (6 GNSS) | 19.4 MB | 2,880 × 106 | 2.57 s | 7.97 s | 446 MB |
| RINEX 3.05 · 15 min · 1 Hz · BUCU | 9.6 MB | 900 × 44 | 0.99 s | 2.62 s | 201 MB |
| RINEX 3.05 · 1 h · 1 Hz · BUCU | 39.9 MB | 3,600 × 52 | 3.78 s | 9.98 s | 739 MB |
| RINEX 3.05 · 24 h · 1 Hz · BUCU | 948.1 MB | 86,400 × 127 | 129.1 s | 263.8 s | 14.2 GB |
The analysis is single-threaded; CN0Analyzer is stateless, so a ThreadPoolExecutor over files scales with the cores available. analyze_with_nav adds visibility prediction from broadcast ephemeris.
Quality Score Components
The composite quality score (0–100, result.quality_score) is computed from five weighted components:
| Component | Weight | Description |
|---|---|---|
| CN0 Quality | 30% | Mean signal strength: 0 at 30 dB-Hz, 100 at 45 dB-Hz |
| Availability | 25% | Satellites observed / satellites expected |
| Continuity | 20% | Absence of tracking gaps |
| Stability | 15% | Low CN0 standard deviation: 100 at 2 dB-Hz, 0 at 10 dB-Hz |
| Diversity | 10% | Constellations observed (4 = 100%) |
Rating: A ≥ 90 · B ≥ 80 · C ≥ 70 · D ≥ 60 · F < 60. result.score and result.quality_grade report the same score.
Threat Detection
| Threat | Algorithm | Default Threshold |
|---|---|---|
| Jamming | Rapid CN0 drop rate | >6 dB in <3 s |
| Spoofing | Unexpected satellite ratio (BRDC ephemeris comparison) | >40% ratio + >8 count + corroboration |
| Interference | Sustained CN0 degradation | >6 dB from baseline |
Spoofing detection requires a navigation file (
analyze_with_nav). The 0.3.8 algorithm compares observed satellites against ephemeris predictions — a high ratio of unexplained observations indicates signal replay attacks.
API Reference
AnalysisConfig
| Parameter | Type | Default | Description |
|---|---|---|---|
min_elevation |
float |
5.0 |
Mask angle in degrees |
time_bin_seconds |
int |
60 |
Seconds per analysis bin |
systems |
list[str] |
all | Constellations to analyze, e.g. ["G", "R", "E", "C"] |
detect_anomalies |
bool |
True |
Run the anomaly detectors |
anomaly_sensitivity |
float |
0.5 |
Detection sensitivity 0–1 |
interference_threshold_db |
float |
6.0 |
Interference trigger (dB) |
spoofing_unexpected_threshold |
float |
0.40 |
Fraction of unexpected satellites |
spoofing_min_unexpected_count |
float |
8 |
Minimum count to flag |
CN0Analyzer
| Method | Description |
|---|---|
analyze_file(obs_path) |
Analyze an observation file |
analyze_with_nav(obs_path, nav_path) |
Also predict visibility from broadcast ephemeris (spoofing check, skyplot) |
AnalysisResult — key members
| Member | Type | Description |
|---|---|---|
quality_score |
QualityScore |
overall, rating, cn0_quality, availability, continuity, stability, diversity |
quality_grade |
str |
Letter A–F |
jamming_detected / spoofing_detected / interference_detected |
bool |
Threat flags |
mean_cn0, min_cn0, max_cn0 |
float |
CN0 statistics (dB-Hz) |
total_epochs, total_satellites |
int |
File size in epochs and satellites |
visibility_confirmation_rate |
float |
Percent of predicted satellites observed (with nav) |
get_systems() |
list |
Constellations present |
get_constellation_summary(name) |
dict |
Per-constellation CN0 and satellite counts |
get_timeseries_data() |
dict |
hours, mean_cn0, satellite_count per epoch |
get_skyplot_data() |
list |
Per-satellite azimuth, elevation and CN0 tracks (with nav) |
get_anomalies() |
list |
Detected anomaly events |
to_json() |
str |
Full result as JSON |
Supported Formats
| Input | Extensions | Notes |
|---|---|---|
| RINEX 2.x observation | .??o, .obs |
|
| RINEX 3.x / 4.x observation | .rnx, .obs |
Mixed observation files |
| RINEX navigation | .rnx, .??n, .??p |
For analyze_with_nav |
Compressed files (Hatanaka .crx/.??d, gzip, ZIP) must be decompressed first.
Website
miluta7.github.io/geoveil-cn0: live CN0 skyplot, per-constellation signal curves and benchmarks from real geoveil-cn0 output.
Live Demo
batch.geoveil-rinex.eu — the GeoVeil batch dashboard runs this library in production: CN0 quality scoring, threat detection, skyplots and heatmaps for every processed RINEX file, plus advanced multipath sessions (per-code MP RMS, cycle slips, SNR-residual wavelet spectra, Fresnel zones) and long-term trend monitoring on daily 30 s station data.
Batch Processing
For large-scale processing this library is wrapped by the GeoVeil batch system (FastAPI + Celery + MongoDB + MinIO + React dashboard): parallel workers, automatic BRDC ephemeris download, per-session analysis settings, WebSocket progress, and result persistence. See the live demo above. For local scripting, CN0Analyzer is stateless — instantiate one per thread and process files with a ThreadPoolExecutor.
License
PolyForm Noncommercial 1.0.0 with an attribution term — see LICENSE.
Free for research, education, personal and other non-commercial use, provided you credit the author and cite the library (see Citation below). Commercial use requires a separate license — contact miluta.flueras@cartografie.ro.
Citation
@software{geoveil_cn0_2026,
title = {geoveil-cn0: High-performance GNSS signal quality analysis},
author = {Dulea-Flueras, Miluta},
year = {2026},
version = {0.4.4},
url = {https://github.com/miluta7/geoveil-cn0},
}
Metadata
Release files for geoveil-cn0 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geoveil_cn0-0.4.4.tar.gz | 906.9 kB | Without provenance | Details for geoveil_cn0-0.4.4.tar.gz |
Built distributions (wheels)
Total release size: 6.5 MB
Release files / geoveil_cn0-0.4.4.tar.gz
| Download URL | geoveil_cn0-0.4.4.tar.gz |
|---|---|
| Size | 906.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a9579e5bdb54eb2a9535298180f76d26f86ceec8f955f20d46ca959f3f2fec6
|
|
BLAKE2b-256 checksum How to use checksums |
6afbecdd5be7ef7a055b29e3d6416091cf1faf2895056e34466bc45438146949
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp312-cp312-win_amd64.whl
| Download URL | geoveil_cn0-0.4.4-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 453.4 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
287351042b4758d0256c1b0c6fb0311d372430f5e6f7823e9662ada62cfc2962
|
|
BLAKE2b-256 checksum How to use checksums |
b257548ef3e3a7a917f525dc75f2a963944cc6029a8e3455bb51ba4f72e43f18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | geoveil_cn0-0.4.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 493.0 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0b3cce1c03f363d23bd6a348b621e39f26b4b7a38e4032e8bcb1cfd3c520353f
|
|
BLAKE2b-256 checksum How to use checksums |
20f69b248eaf562f1a5a408531ab6b1ad88086dc64e06571c042377ae3bbaa85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | geoveil_cn0-0.4.4-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 453.4 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
00c8930abd4c9be4d5f8956fad142f4cc5793810bc13353b4587acd748a094e2
|
|
BLAKE2b-256 checksum How to use checksums |
a6407988f706fef5c3c647b0049c4a10ffd3d7f8907f3463c2952f3f8688db17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp311-cp311-win_amd64.whl
| Download URL | geoveil_cn0-0.4.4-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 452.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f82dd230fd0a042e35a542c1005e797ab6f600651edf2fcf11e354da87241e46
|
|
BLAKE2b-256 checksum How to use checksums |
994fc403df38418577f27aec5575fa4624837534df197efb7b6a3f744243961a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | geoveil_cn0-0.4.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 492.1 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
57f737b5a4c3cd0b6604185425b41c5c5b8a6019171afdc4c6d1e105976f4734
|
|
BLAKE2b-256 checksum How to use checksums |
78e2b476b8f57dfb520466fa332970f192a46039e30ce3ce695a384f0c4a1084
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | geoveil_cn0-0.4.4-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 454.6 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3ad1c991499852980634b4acbdd10923491d8265d8cd0de697d9726eaa25dd4d
|
|
BLAKE2b-256 checksum How to use checksums |
7bcf137aa19c7f8eb1c6007b7946edbbceb21b7ce524cea6ca59d4cf975fb941
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp310-cp310-win_amd64.whl
| Download URL | geoveil_cn0-0.4.4-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 452.5 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6ec6b33bebfcf07bf440c7aab8c15f12e28fc6c61719c79bc4d3cfaaee4e7819
|
|
BLAKE2b-256 checksum How to use checksums |
759a8b45d8d4564c9b1d28342d173f8b0ec7e184b4ba2047882a8cf6bdac9b7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | geoveil_cn0-0.4.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 492.2 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6bd8d8787cfb65cdb9c390870dbcfb3fc698de03fceb676f738dba6edccd1bd5
|
|
BLAKE2b-256 checksum How to use checksums |
2f3ba97e0f328d2dfb2a67ab8bbbad5d6a5f0a2fa4a66a58304cfb6cbc6530cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | geoveil_cn0-0.4.4-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 454.6 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ae7f2c59add37424e0c0cfe6dc05c1442dd1eaf2e68881c051ee546b38bdefef
|
|
BLAKE2b-256 checksum How to use checksums |
fcd7594a11c68d69f189fada239576e7bba2654362a15a702cef35c827bb60b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp39-cp39-win_amd64.whl
| Download URL | geoveil_cn0-0.4.4-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 452.5 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ba7a1d75e061eb3044595d46329fab6122a9645ca753b567fceae11c02f27d80
|
|
BLAKE2b-256 checksum How to use checksums |
75460154de1997f0fbbb16094a5fa9d47fe50efd2243af2b37b871bd273032f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | geoveil_cn0-0.4.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 492.5 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0c62b0eb8f0f60faa216e4deff2b04ea5bdf54486f0abd21c34d258e4fd73209
|
|
BLAKE2b-256 checksum How to use checksums |
acbb5dcc883deea82341bd357a540239b36409c116dc3ff5455afa45c8475adf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / geoveil_cn0-0.4.4-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | geoveil_cn0-0.4.4-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 454.8 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e303355e167039286bbc52237ece10c55ee873eb00135ab58202f412f0ed0ab9
|
|
BLAKE2b-256 checksum How to use checksums |
9a10c17abe3240161fbc0df7a0c5df7374d9417216206bf311ce312896495a4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Security for geoveil-cn0 0.4.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.