Repository navigation
UT1 and EOP
UT1 is the Earth-rotation time scale. It is not a function of the leap-second table: the leap-second kernel says how UTC relates to TAI, while UT1 follows the actual rotation of the Earth, which is measured and published by the IERS. The two data sets are independent.
UT1 = TAI + (UT1 - UTC) - (TAI - UTC)
(UT1 - UTC) comes from the IERS finals2000A.all product. (TAI - UTC)
comes from the LSK. Both are required.
convert::ut1_minus_utc interpolates the continuous quantity
UT1 - TAI, not the raw UT1 - UTC column, and then adds TAI - UTC back.
Why: UT1 - UTC jumps by one second when a positive leap second is inserted.
Interpolating the raw column across that boundary smears a one-second step
over a whole day, which is a 0.5 s error at local noon.
The interpolation is linear between the two bracketing daily samples, as recommended by IERS for a daily series. The true UTC day length (86 400, 86 401 or 86 399 seconds) enters the TAI instants of the bracketing samples, so the leap second is removed before interpolation and restored afterwards.
EopTable::ut1_minus_utc remains available for table inspection and for use
away from leap boundaries. It is a plain interpolator of the raw column.
Measured on real data at 2016-12-31T12:00:00:
| Method | UT1 - UTC |
|---|---|
Leap-aware (convert) |
-0.408239 s |
| Naive interpolation | +0.091761 s |
The difference is 0.5 s.
The interpolation needs two bracketing samples. Therefore:
- the earliest supported instant is
00:00:00 UTCof the first sample day; - the latest supported instant is
00:00:00 UTCof the last sample day, which closes the preceding day. The final sample day itself cannot be interpolated.
Outside that interval, forward conversions return Ut1OutOfRange, and the
inverse solve (ut1_to_tai) also returns it. The inverse starts from the
measured UT1 - UTC value rather than a fixed offset, and clamps that first
guess strictly inside the supported interval.
EopTable::range() returns the (first_mjd, last_mjd) of the stored samples
so an application can check coverage before converting.
| Series | Use |
|---|---|
BulletinA |
default; rapid service plus predictions |
BulletinB |
final solution for past dates |
FinalPreferred |
Bulletin B where available, otherwise A; matches astropy |
observed_only() removes predictions. Predictions are revised by later
releases of the file; a result computed from them is not final.
-
No subdaily terms. IERS Conventions section 5.5.3.1 requires ocean-tide
and libration terms for the high-accuracy instantaneous
UT1 - UTC. They are not implemented here. This is a daily-series interpolator. - No uncertainty propagation. The EOP measurement and prediction errors are not carried into the result.
-
No polar motion or nutation. Only the
UT1 - UTCcolumn is read.
Select observed_only() and state the EOP product and release date in any
analysis that depends on UT1.
tools/validate_ut1.py runs the ut1-check binary against a real
finals2000A.all file and checks:
-
Data fidelity — at
00:00:00 UTCevery day, the leap-aware value equals the table entry exactly. -
Leap physics — on every leap-boundary day, the value at
12:00stays within the length-of-day drift of the day-start value, while naive interpolation is at least0.498 swrong.
Results on a current file: 20 037 usable days with maximum
|crate - table| = 0 s; 25 leap-boundary days with maximum
|noon - day start| = 1.676e-3 s. See Verification.
python tools/validate_ut1.py --eop data/finals2000A.allAn independent check against astropy's IERS implementation is
tools/validate_ut1_astropy.py: the FinalPreferred series agrees to
1.1e-16 s on ordinary days and exactly on leap days.
The JPL WebGeocalc API has no UT1 time system: it rejects UT1 with
No enum constant ...TimeStandard.UT1. No comparison against it is claimed,
and none is possible.
