1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//! # astrodynamics-gnss
//!
//! GNSS domain layer built on top of the [`astrodynamics`] core crate. This is
//! a **sibling crate, not a cargo feature** of `astrodynamics`: a
//! propagation-only consumer must never have to compile the IONEX/SP3 parsers.
//!
//! This crate defines the foundational GNSS types and a public façade organized
//! by user-facing tasks:
//!
//! - [`ephemeris`] — precise SP3 and broadcast ephemeris products,
//! - [`rinex`] — RINEX navigation/observation parsing and CRINEX decoding,
//! - [`positioning`] — single-point positioning and DOP diagnostics,
//! - [`atmosphere`] — ionosphere and troposphere corrections,
//! - [`orbit`] — compact reduced-orbit fitting/evaluation.
//!
//! Implementation modules (`sp3`, `rinex_nav`, `spp`, etc.) are crate-private.
//! This is a clean 0.9 public surface rather than a compatibility shim around
//! the original implementation-shaped module layout.
//!
//! ## Units policy (internal representation)
//!
//! All quantities are stored and computed in **SI base units**, with the frame
//! and datum encoded in the type name (per the spec's frames-in-the-type-system
//! rule), never hidden behind a bare `position_m`:
//!
//! - **Length / position:** meters (`_m`). SP3 positions are ITRF/IGS-frame
//! ECEF meters; SPP receiver positions are WGS84/ITRF-compatible ECEF meters.
//! (The core `astrodynamics` state crate works in kilometers; conversions
//! happen explicitly at the boundary, never implicitly.)
//! - **Time / clock:** seconds (`_s`). Epochs are represented by the core
//! `astrodynamics` time family (`Instant`/`TimeScale`), always scale-tagged;
//! there is no bare ambiguous epoch.
//! - **Velocity:** meters per second (`_m_s`).
//! - **Angles:** radians (`_rad`) internally. Degrees appear only at I/O edges
//! and are named `_deg`.
//! - **Frequency:** hertz (`_hz`).
//!
//! Field and parameter names carry the unit suffix so the unit is visible at
//! every call site. Matrix/vector linear algebra uses `nalgebra`
//! (`DMatrix`/`DVector`) per the spec.
// ---------------------------------------------------------------------------
// Module layout. Additional product modules are added as each lands.
// ---------------------------------------------------------------------------
// broadcast-ephemeris (GPS LNAV / Galileo I/NAV) orbit + clock
// shared GNSS physical/time constants
// Hatanaka (CRINEX) observation-file decoder
// dilution-of-precision geometry (GDOP/PDOP/HDOP/VDOP/TDOP)
// GLONASS PZ-90.11 state-vector RK4 propagation
// Klobuchar broadcast model + IONEX ionospheric maps
// compact mean-element orbit approximation (fitted)
// RINEX 3 navigation-message parsing (GPS/Galileo broadcast)
// RINEX 3 observation parsing + single-frequency pseudoranges
// SP3-c / SP3-d parser + arbitrary-epoch interpolation
// single-point positioning (least-squares PVT)
// Saastamoinen zenith + Niell (NMF) mapping troposphere
// bounded integer least squares (ambiguity-resolution kernel)
// sequential RTK baseline filter — serializable state ABI (kernel migration)
pub use ;
pub use ;
pub use ;