The models below are used by more than one method — PPP, static baselines and epoch-by-epoch RTK — and some by the single-point solutions and the /visibility atmosphere card. Where a method uses a model differently, its own page says so.
Antenna phase centres
Calibrations come from the IGS's igs20.atx. A satellite's phase-centre offset (PCO) is given in its body frame and rotated with the satellite's attitude (nominal yaw steering by default); its phase-centre variation (PCV) depends on the nadir angle. Precise clocks absorb the satellite antenna model they were estimated with, so PPP applies the one the product assumes: IGS20 for CODE's and GFZ's products, ESA's own Galileo and BeiDou offsets for ESA's. A satellite with no calibration at all is left out. Satellite antennas cancel in baselines and RTK.
A receiver antenna's correction along the line of sight e (receiver to satellite) is
with the marker-to-ARP height ΔARP and the PCO rotated from the ANTEX North/East/Up into the local frame, and PCV at the zenith angle z. PPP combines the two bands' offsets and variations ionosphere-free; RTK and the uncombined engine use each band on its own. Only the elevation-dependent (NOAZI) part of the PCV is applied; the azimuth-dependent part is not.
- Missing band. Many receiver antennas are calibrated for GPS (and GLONASS) only. For PPP's ionosphere-free pair the GPS L1/L2 offsets stand in, as in RTKLIB. In RTK each band takes the nearest GPS band (L1 for Galileo E1 and BeiDou B1, L5 else L2 for E5a, L2 for the rest).
- BeiDou. PPP leaves BeiDou out where the receiver antenna has no BeiDou calibration for the pair in use: the GPS offsets standing in moved stations by 1–2 mm in height on the 24 h EPN benchmark (LERI, ONSA, IGMI), more than BeiDou added.
- Radome. An antenna/radome combination that is not calibrated takes the same antenna's NONE entry, as the IGS does.
- Unknown antenna. Without an IGS calibration the phase-centre offset is not removed — a vertical error of up to a decimetre — and the report says so; the antenna height is still applied.
Troposphere
The slant delay is split into a hydrostatic and a wet part:
- PPP and static baselines take ZHD and the mapping functions from TU Wien's operational VMF3 grids (Landskron & Böhm 2018; ECMWF analysis, every 6 hours). The site reads the 5° × 5° grid (0.14 MB per file against 3.4 MB for 1° × 1°): on the EPN benchmark the two gave the same coordinates and zenith delays (Up RMS 2.6–2.7 mm, ZTD 3.7–3.8 mm against EUREF with either). Each surrounding grid point's delays are reduced to the station height (Kouba 2008), then interpolated bilinearly in space and linearly in time. The grids appear about a day after the observations; for later sessions the GPT3 climatology stands in, and without either the standard atmosphere with Niell mapping. ZWD (and in /campaign and baselines the gradients) are estimated; the mapping of the gradients is Chen & Herring's.
- RTK and single-point positioning use Saastamoinen with a standard atmosphere at the receiver's height — 1013.25 hPa and 15 °C at sea level, relative humidity 0.7, as RTKLIB — mapped by 1/sin e, nothing estimated. In RTK it is evaluated at each receiver and differenced.
- Cut-off. With VMF3, /campaign and baselines use the EPN's 3° cut-off: on the EPN benchmark (week 2297) it took Up from 3.7 to 2.6 mm (float) and 3.2 to 2.1 mm (fixed); with Niell or GPT3 the low satellites made it worse, so those runs keep 10°.
VMF3 and GPT3 data: VMF Data Server, TU Wien (doi:10.17616/R3RD2H), based on ECMWF data, CC BY 4.0.
Ionosphere
- PPP, baselines — the ionosphere-free combination removes the first-order delay; the uncombined PPP engine estimates the slant delay per satellite instead. The second- and third-order terms (from a global ionosphere map and the IGRF-14 field) are implemented but not applied by default.
- RTK — not modelled; the differential ionosphere is what limits single-frequency RTK to short baselines.
- Single-point positioning and the atmosphere card — the broadcast Klobuchar model; IONEX global maps are read for the ionosphere views.
Tides and loading
- Solid-earth tide — IERS Conventions 2010, Steps 1 and 2 (degree 2 and 3, latitude dependence, out-of-phase terms, the diurnal and long-period corrections). Positions are conventional tide-free, as ITRF and EUREF publish them. Sun and Moon come from an analytical series.
- Ocean tide loading — eight constituents (M2 S2 N2 K2 K1 O1 P1 Q1) from our own global grid: the GOT4.10c ocean tide model convolved with elastic PREM loading Green's functions in the solid-Earth centre-of-mass (CE) frame, computed at 0.5° and interpolated bilinearly. The displacement is synthesised the IERS way, with nodal modulation and the minor tides by admittance. BLQ coefficients pasted for a station take precedence. Details on Methods.
- Pole tides (/campaign) — the solid-earth pole tide (IERS 2010 7.1.4 with the 2018 secular pole) and the ocean pole tide (Desai 2002), from polar motion of the day (ESA's ERP file, else IERS finals2000A).
- Atmospheric tide loading (/campaign) — S1/S2 (Ray & Ponte 2003, from the VMF Data Server grid).
- Any of these whose input cannot be loaded is left out and listed with the result, rather than failing the solve.
Time scales
- Every epoch inside gnss-js is GPS time, in milliseconds since 6 January 1980. Galileo System Time runs on the same second count from its own week origin; BeiDou Time is GPS − 14 s; GLONASS time is UTC(SU) + 3 h. In PPP each constellation's own receiver clock absorbs any offset between the system times.
- UTC follows from GPS time through the leap-second table. Products indexed in UTC (VMF3 grids, Earth orientation) are evaluated at the UTC instant of the epoch.
- A daily /campaign coordinate refers to the middle of its session; that is its coordinate epoch for frame transformations and series.
Reference frames and epochs
- The orbit and clock products are in IGS20, the IGS realisation aligned with ITRF2020, so PPP coordinates are ITRF2020 at the epoch of the observations. WGS84 is treated as ITRF2020 (the current realisation is aligned with it to a few centimetres).
- RTK and baselines give the rover in the frame of the base coordinate they are given.
- Transformations between frames are 14-parameter Helmert transformations in the IERS position-vector convention, with parameters taken as published (IERS/IGN for ITRF to ITRF, the EPSG registry for ETRF2000/2014/2020, NAD83, GDA). Plate motion follows ITRF2020-PMM; in Europe velocities can come from the A-EPND grid.
- /campaign aligns each day to IGS20 reference stations propagated to the day: a translation for a regional network, a 7-parameter Helmert transformation for a wide one.
The frame conventions, national frames and their checks are on Methods.
Defaults
| Setting | Default | Note |
|---|---|---|
| Antenna calibrations | IGS20 (igs20.atx) | Satellites as the orbit/clock product assumes them |
| Receiver PCV | Elevation-dependent (NOAZI) only | |
| Missing receiver band | PPP: GPS L1/L2; RTK: the nearest GPS band | |
| Uncalibrated radome | Same antenna with NONE | |
| A priori troposphere (PPP, baselines) | VMF3 grids, else GPT3, else Saastamoinen + Niell | VMF3 on the 5° × 5° grid, 6-hourly |
| Troposphere (RTK, single-point) | Saastamoinen, standard atmosphere, 1/sin e | |
| Ionosphere | Ionosphere-free combination | Klobuchar for single-point positioning; higher orders off |
| Solid-earth tide | IERS 2010 Steps 1 + 2, tide-free | |
| Ocean tide loading | Built-in GOT4.10c grid, IERS synthesis | A pasted BLQ entry takes precedence |
| Pole tide, ocean pole tide, S1/S2 atmospheric loading | /campaign only | |
| Satellite attitude | Nominal yaw steering | /campaign: eclipse models or ORBEX optional |
| Internal time scale | GPS time (milliseconds since 1980-01-06) | |
| Output frame | ITRF2020 (IGS20) at the observation epoch | RTK and baselines: the frame of the base coordinate |
Where it is in the code
Source
-
src/positioning/ppp-antenna.ts— ANTEX phase centres for PPP (pair and per band), receiver fallbacks, phase wind-up -
src/positioning/rtk-antenna.ts— per-frequency receiver offsets for RTK, rtkGpsFallback -
src/positioning/sat-attitude.ts— satellite attitude (nominal, eclipse models, ORBEX) -
src/positioning/tropo-saastamoinen.ts— Saastamoinen slant delay with a standard atmosphere -
src/positioning/ppp-tropo.ts— Niell (1996) mapping functions -
src/troposphere/vmf3-grid.ts— VMF3 grid files, height reduction (Kouba 2008), interpolation -
src/troposphere/index.ts— GPT3 and VMF3 mapping -
src/positioning/klobuchar.ts— broadcast Klobuchar model -
src/positioning/gim.ts— IONEX global ionosphere maps -
src/positioning/iono-higher-order.ts— second- and third-order ionosphere (opt-in) -
src/positioning/solid-earth-tide.ts— IERS 2010 solid-earth tide, Steps 1 and 2; permanent tide -
src/positioning/ppp-astro.ts— Sun and Moon positions -
src/positioning/ocean-loading-iers.ts— ocean loading with nodal modulation and minor tides (IERS 7.1.2) -
src/positioning/ocean-loading.ts— BLQ reading and the 11-constituent synthesis -
src/positioning/pole-tide.ts— solid-earth and ocean pole tides -
src/positioning/atmospheric-tide-loading.ts— S1/S2 atmospheric tide loading -
src/positioning/eop.ts— Earth orientation series -
src/time/gnss.ts— time scales and leap seconds -
src/frames/index.ts— 14-parameter Helmert transformations between ITRF and regional frames -
src/frames/plate-motion.ts— ITRF2020 plate motion model
Tests
-
test/antenna-pco-order.test.ts— receiver PCO in North/East/Up order; ANTEX 2.0 eq. (1) + (4) for PPP and RTK -
test/ppp-product-consistency.test.ts— satellite antennas from the product’s model; uncalibrated receivers still get the height -
test/rtk-antenna.test.ts— GPS-band and NONE-radome fallbacks -
test/sat-attitude.test.ts— ORBEX quaternions and nominal yaw steering -
test/troposphere.test.ts— VMF3 mapping against Niell; GPT3 against TU Wien’s gpt3_5_fast.py to 10⁻¹⁰ -
test/vmf3-grid.test.ts— height reduction; grid against TU Wien’s site-wise VMF3 at eight EPN stations; interpolation in time -
test/klobuchar.test.ts— against an independent transcription of the interface specification -
test/gim.test.ts— IONEX interpolation and slant delay -
test/iono-higher-order.test.ts— magnitudes against Bassiri & Hajj (1993); closed forms -
test/solid-earth-tide.test.ts— the IERS test cases; permanent tide magnitudes -
test/blq.test.ts— BLQ conventions; the IERS HARDISP Onsala and Reykjavik test outputs -
test/ocean-loading.test.ts— constituent synthesis -
test/iers-loading.test.ts— EOP series, pole tide, ocean pole tide, S1/S2 loading against the VMF server’s station values -
test/ppp-corrections-iers.test.ts— the station displacements wired into the corrections -
test/time-correctness.test.ts— leap seconds, Julian dates -
test/frames.test.ts— Helmert conventions, round trips, EPSG cross-checks -
test/plate-motion.test.ts— ITRF2020-PMM against IGS20 velocities
Validation
- Klobuchar, Saastamoinen, Niell — compiled side by side with RTKLIB 2.4.2: agreement to about 10⁻¹²; the Niell hydrostatic mapping here uses an integer day of year, worth at most 1.6 mm of slant delay at 3°.
- VMF3 — against TU Wien's own values ray-traced at the stations, the hydrostatic delay agrees to 1.6 mm RMS where grid and station are within 100 m in height.
- Estimated zenith delays — /campaign's agree with EUREF's combined tropospheric product to 4.1 mm RMS (EPN, week 2430).
- A priori zenith delays — against IGS final zenith delays at ten stations with meteorological sensors: 7–15 mm RMS at mid and high latitudes with real surface meteorology, 3–16 cm low in the humid tropics; with the standard atmosphere the overall RMS grows from 53 to 164 mm. This affects the atmosphere card, not coordinates, since PPP and baselines estimate the wet delay.
- Solid-earth tide — within 54 µm of the three IERS test cases; Sun and Moon within 0.011° and 0.031° of JPL DE421, worth at most 0.23 mm of tide.
- Ocean tide loading — the grid against a published BLQ table of 1192 IGS-type stations: 0.3 mm RMS (median) in the vertical, 1 mm at the 95th percentile, 6 mm at worst; the synthesis reproduces the IERS HARDISP test outputs (Onsala within 0.2 mm, Reykjavik 0.54 mm RMS). On 96 two-hour sessions at Brest it cut the vertical scatter from 48 to 16 mm, the same as Onsala's coefficients.
- Frames — the transformation chains match PROJ 9.8 to 0.3 mm or better; the plate motion model is checked against IGS20 velocities and the EarthScope calculator (see Methods).
The positioning figures these models feed into are on the validation page.