Skip to main content

Module rinex

Module rinex 

Source
Expand description

RINEX and CRINEX parsing.

Parsing is separated from ephemeris evaluation: navigation records can be parsed through nav or loaded into an crate::ephemeris::BroadcastEphemeris, while observation files are parsed through observations.

Modules§

clock
RINEX clock parsing and satellite clock-bias interpolation.
crinex
Hatanaka/CRINEX observation-file decoding and encoding.
nav
RINEX navigation-message parsing.
observations
RINEX observation parsing and pseudorange extraction.
qc
RINEX observation/navigation lint and mechanical repair.

Structs§

RinexClock
Parsed RINEX clock product.

Functions§

decode_crinex
Decode a CRINEX (Hatanaka) observation stream into the plain RINEX observation text it expands to, returning the whole text as a String.
decode_crinex_to
Streaming decode: reconstruct the plain RINEX observation text one line at a time, pushing each line (without its trailing newline) to emit.
encode_crinex
Encode plain RINEX observation text into a CRINEX (Hatanaka) stream, the inverse of decode.
parse_glonass
Parse all GLONASS (R) records from a RINEX 3.x navigation file, in file order; selection is the caller’s job. A malformed supported record is a NavParseError rather than a silently dropped one, but a record for a slot the engine cannot represent (an extended GLONASS slot beyond the PRN cap, e.g. R28 in real BKG/IGS products) is skipped rather than rejecting the whole file - the same treatment unsupported constellations get in [parse_nav_v3]. (Version-4 GLONASS frames are not yet parsed.)
parse_iono_corrections
Parse the broadcast ionosphere coefficients from a RINEX header’s IONOSPHERIC CORR lines or RINEX 4 body > ION frames (GPS GPSA/GPSB, BeiDou BDSA/BDSB, and Galileo GAL).
parse_leap_seconds
The leap-second count (GPS − UTC) from the header’s LEAP SECONDS line, used to map a GLONASS (UTC) reference epoch onto the GPST-aligned query time. The value is the first field; None if the line is absent.
parse_nav
Parse a RINEX 3.x or 4.xx navigation file into the supported GPS, QZSS, Galileo, and BeiDou Keplerian records.
pseudoranges
Extract single-frequency pseudoranges for one epoch under a SignalPolicy.

Type Aliases§

ObservationFile
Role-oriented alias for a parsed RINEX observation file.