geoveil-cn0v0.5.0
GNSS signal quality · Rust core · Python API

Know how clean your signal is. Every satellite, every epoch.

geoveil-cn0 reads RINEX 2, 3 and 4 observation files and turns carrier-to-noise density into a 0–100 quality score, per-constellation statistics, CN0 skyplots and interference, jamming and spoofing checks, including a Doppler test of every signal against the satellite it names. Give it a broadcast navigation file and it also predicts which satellites should be in view.

$pip install geoveil-cn0
–mean CN0, dB-Hz
–satellites tracked
2.6 sper 24 h file

Signal monitor

BOR1 · 2025-12-31 · real geoveil-cn0 output
Constellation
CN0, dB-Hz
≤30354045≥50

Tracks from broadcast ephemeris, sampled every 5 minutes. Timeline: mean CN0 of all satellites above 10° every 30 s, and the number tracked.

New0.4.6 – 0.5.0

Is the signal even real? Eight answers since 0.4.6

The library now asks whether each signal came from the satellite it names, places counterfeits where the real satellite was, and checks the clock and the orbits it is given. The batch platform draws all of it on every file.

0.4.6 · Doppler check

Signals that do not fit their satellite

Doppler and pseudorange of every GPS L1, Galileo E1 and BeiDou B1I signal against the real satellite. Genuine signals fit to a fraction of a hertz.

result.doppler
0.4.6 · Time integrity

A clock you can trust, or not

Flags data dated after its file was written or in the future, and tells a GPS week rollover from a false time source.

result.time_integrity
0.4.6 · Orbits

Broken navigation records dropped

GPS records with all nine perturbation terms zero, carried by some merged BRDC files, no longer corrupt skyplots and visibility.

nav_records_dropped
0.4.7 · Every epoch

The counterfeit's C/N0, second by second

Each flagged epoch with its C/N0 and its Doppler and range offsets, so a counterfeit can be drawn next to the genuine signals.

result.doppler_points
0.4.8 · Real position

Where the real satellite was

The real satellite's azimuth and elevation for each counterfeit, below the horizon too, ready for a skyplot.

real_azimuth_deg
0.4.9 · No blind spot

Counterfeits of unhealthy satellites

A spoofer that fakes the whole almanac fakes unhealthy satellites too. They are now judged next to the healthy spells; wrong orbits stay out.

unhealthy_record
0.5.0 · RINEX 3.04

Files with the channel number X1

Septentrio receivers list X1 first. It was dropped from the header and every value read one column off; now each column is read where it is.

analyze_with_nav
Platform

Spoof and weak sky on every tab

batch.geoveil-rinex.eu marks counterfeit signals and an obstructed sky on the skyplot, heatmaps, multipath, constellation and anomaly views.

batch.geoveil-rinex.eu
SignalsBOR1 · 24 h · 30 s

Signal strength rises with elevation. How fast is the story.

Mean CN0 in 5° elevation bins for each constellation, from the same BOR1 day. A healthy antenna gives a smooth climb. Dips at mid elevations point to obstructions or multipath, and a flat, low curve points to interference.

ConstellationMean CN0Std devMin – maxSatellitesObservations
From get_constellation_summary(). Satellites: observed and expected from the broadcast ephemeris.
QualityBUCU · 1 h · 1 Hz

One number per file, five reasons behind it

The quality score weighs signal strength, availability, continuity, stability and constellation diversity. These are the real components for one hour of 1 Hz data from BUCU, Bucharest.

Rating: A ≥ 90 · B ≥ 80 · C ≥ 70 · D ≥ 60 · F below. CN0 quality is 0 at a mean of 30 dB-Hz and 100 at 45 dB-Hz. Stability is 100 at a CN0 standard deviation of 2 dB-Hz and 0 at 10 dB-Hz.

Threats4 detectors

Four checks for a hostile sky

Each detector watches a different signature. Thresholds are part of AnalysisConfig, so a station on a noisy rooftop and one in an open field can be tuned differently.

Jamming

Sudden, shared CN0 drops

A jammer lowers CN0 on many satellites at once. The flag needs critical CN0 drops in more than 5 % of epochs, together with a low mean CN0 or drops shared across constellations.

jamming_detected
Interference

Sustained degradation

Interference is quieter and more frequent. The flag needs CN0 anomalies, drops beyond the configured thresholds, in more than 1 % of epochs.

interference_detectedinterference_threshold_db
Spoofing

Satellites that should not be there

With a navigation file, the library predicts which satellites are above the horizon. A spoofer replays signals that do not match, so a sustained high share of unexpected satellites raises the flag.

spoofing_detectedanalyze_with_nav
Doppler · new in 0.4.6

Signals that do not fit their satellite

Every GPS L1, Galileo E1 and non-GEO BeiDou B1I Doppler is compared with the real satellite's, from the broadcast orbit and the station position. A signal over 100 Hz off, or named after a satellite below the horizon, whose pseudorange is also over 50 km off, did not come from that satellite.

dopplerdoppler_spellsdoppler_pointsreal_azimuth_deg
Attack replay

A counterfeit GPS sky, caught signal by signal

WTZR · 2026-11-30 · 12:00–12:15 UTC · 1 Hz · real geoveil-cn0 0.5.0 output
12:05:30Counterfeit GPS sky
or move across the charts
genuine satellitereal satellite of a counterfeitbelow the horizon

C/N0 of every GPS and Galileo signal, dB-Hz

GPS, genuineGalileo, genuinecounterfeit GPS

Doppler offset from the real satellite, Hz (log scale)

genuine signals, median to p95flagged counterfeit epoch
Real geoveil-cn0 0.5.0 output on a replayed attack. The counterfeit sky copies the pattern of a real GPS spoofing attack: the genuine GPS signals vanish 2 s before 11 counterfeits appear at two fixed power levels (41.4 and 44.5 dB-Hz); three take over satellites in view, the others claim satellites below the horizon, and one of those, G28, is marked unhealthy in the broadcast orbit file, as in the real attack. It was written into a 15-minute, 1 Hz file of the IGS station WTZR (Wettzell); Galileo, GLONASS and BeiDou stay genuine. The check flags all 11: 3,851 observations in 11 spells, while the 29,551 genuine ones fit their satellites to 0.09 Hz (p95 0.30 Hz). G22 is flagged only from 12:05:49: its counterfeit Doppler starts within 100 Hz of the real one, the check's blind spot, and is caught once it drifts away.
SignalFlagged, UTCEpochsDoppler offRange offC/N0Real satellite az / el
From result.doppler_spells; result.doppler_points gives every epoch. † The broadcast orbit record is marked unhealthy: judged next to the other spells (0.4.9).
CheckSignatureDefault
JammingCritical drops in > 5 % of epochs, plus mean CN0 < 35 dB-Hz or drops across constellationscritical at interference_threshold_db = 6.0
InterferenceCN0 anomalies in > 1 % of epochs, at least 3anomaly_sensitivity = 0.5
SpoofingUnexpected satellites against broadcast ephemeris, sustained over 5 minutes or above 60 %> 40 % and > 8 satellites
DopplerDoppler off the real satellite's (epoch median removed), or the satellite below −1°, with the pseudorange also off, in 2 or more epochs. 20 or more satellites off at once is set aside as a station fault; a satellite with an unhealthy orbit record is judged only within a minute of the spells of healthy ones (0.4.9)100 Hz and 50 km
SpeedXeon E5-2620 v3 · one core

A 24-hour station day in 2.6 seconds

Wall-clock time on public IGS files from 31 December 2025, the same set used for geoveil-mp, on a 2014 server CPU. The analysis runs on one core, so a batch of files scales with the cores you give it. Visibility prediction from broadcast ephemeris is the extra cost of analyze_with_nav.

Seconds per file, median of three runs. Files are plain RINEX; Hatanaka files were decompressed first.
Stress test

24 hours at 1 Hz: 86,400 epochs of 127 satellites take 129.1 s without navigation and 263.8 s with it, peaking at 14.2 GB.

FileEpochs × satsanalyze_filewith navPeak memoryQuality
RINEX 2.11 · 24 h · 30 s
ZIMM · GPS · 5.4 MB
2,880 × 320.14 s4.31 s104 MB66.5
RINEX 3.02 · 24 h · 30 s
BOR1 · 6 GNSS · 19.4 MB
2,880 × 1062.57 s7.97 s446 MB75.7
RINEX 3.05 · 15 min · 1 Hz
BUCU · 4 GNSS · 9.6 MB
900 × 440.99 s2.62 s201 MB96.9
RINEX 3.05 · 1 h · 1 Hz
BUCU · 4 GNSS · 39.9 MB
3,600 × 523.78 s9.98 s739 MB96.3
RINEX 3.05 · 24 h · 1 Hz
BUCU · 4 GNSS · 948.1 MB
86,400 × 127129.1 s263.8 s14.2 GB76.4
geoveil-cn0 0.4.1 release build, Python 3.13, min_elevation 10°, 60 s bins. Quality is the documented five-component score from analyze_with_nav.
In productionCRNM · 2026-08-14 · 30 s

Running on batch.geoveil-rinex.eu

The GeoVeil batch platform runs geoveil-cn0 on every station day it receives. These screenshots show one day of the CRNM station, a Trimble Alloy receiver. Select a chart to see it full size.

Platform · weak sky

Something stands south of the antenna

A building, a vehicle or trees next to the antenna weaken every satellite behind them, whatever its constellation. The platform compares each satellite with what its own constellation usually reaches at that elevation, and hatches the part of the sky where several of them fall short.

CN0, dB-Hz
≤30354045≥50
Real geoveil-cn0 0.5.0 skyplot with a replayed obstruction. BOR1 on 31 December 2025, 24 h at 30 s: signals from azimuth 172–246° below 51° were weakened by 11 dB and lose lock now and then, the pattern of a real rover site. GLONASS and BeiDou GEO satellites are left out. The weak-sky detection, the same code that runs on every file at batch.geoveil-rinex.eu, finds azimuth 173–249° up to 49°.
APIPython 3.9+

A station report in six lines

Install from PyPI, point it at a RINEX file, and read plain Python values back. Wheels for Linux, Windows and macOS.

import hatanaka
from geoveil_cn0 import AnalysisConfig, CN0Analyzer

obs = hatanaka.decompress_on_disk("BOR100POL_R_20253650000_01D_30S_MO.crx.gz")   # geoveil-cn0 reads plain RINEX
nav = hatanaka.decompress_on_disk("BRDC00IGS_R_20253650000_01D_MN.rnx.gz")

analyzer = CN0Analyzer(AnalysisConfig(min_elevation=10.0, time_bin_seconds=60))
result = analyzer.analyze_with_nav(str(obs), str(nav))

q = result.quality_score
print(q.overall, q.rating)                       # composite 0–100 and its letter
print(result.mean_cn0, result.total_satellites)   # 45.1 dB-Hz, 106 satellites for BOR1
print(result.get_constellation_summary("Galileo")["mean_cn0"])
tracks = result.get_skyplot_data()                # azimuth, elevation and CN0 per satellite
MemberReturns
analyze_file(obs)CN0 statistics, quality score, anomaly checks
analyze_with_nav(obs, nav)All of the above plus predicted visibility, skyplot, the spoofing check and the Doppler check
quality_scoreoverall, rating and the five components
get_constellation_summary(name)Mean, spread and range of CN0, satellites observed and expected
get_timeseries_data()Mean CN0 and satellites tracked per epoch
get_skyplot_data()Azimuth, elevation and CN0 tracks per satellite
get_anomalies()Detected events with time, severity and affected satellites
dopplerDoppler check verdict, observations tested and flagged, genuine spread in Hz
doppler_spellsEach signal that does not fit its satellite: time, Doppler and range offsets, C/N0, and the real satellite's azimuth and elevation
doppler_pointsEvery flagged epoch with its C/N0, Doppler and range offsets
time_integrityDates after the file was written, GPS week rollover, backward or repeated epochs, gaps
to_json()The full result as JSON
LicensePolyForm Noncommercial 1.0.0

Free for science. Licensed for business.

From 0.4.0, geoveil-cn0 is source-available under PolyForm Noncommercial 1.0.0 with an attribution term.

Non-commercial use

Free, with credit

  • Research, teaching and personal projects.
  • Universities, public research bodies, charities and government agencies.
  • Credit "geoveil-cn0 by Miluta Dulea-Flueras" with a link to the repository, and cite it in publications.

Versions 0.3.9 and earlier remain available under the MIT license. The full terms are in the LICENSE file.

CitationBibTeX
geoveil_cn0.bib
@software{geoveil_cn0_2026,
  title   = {geoveil-cn0: High-performance GNSS signal quality analysis},
  author  = {Dulea-Flueras, Miluta},
  year    = {2026},
  version = {0.5.0},
  publisher = {Zenodo},
  doi     = {10.5281/zenodo.24626488},
  url     = {https://github.com/miluta7/geoveil-cn0},
}