Jvinniec / CppEphem

CppEphem is a self-contained ephemeris package written in C++. It allows computation of celestial coordinate and date conversions and planet ephemerides by leveraging the Standards of Fundamental Astronomy (SOFA) software (included in the repo). It is C++11 compatible.
2 stars 2 forks source link

Earth orientation file URLs are broken #38

Open Jvinniec opened 4 years ago

Jvinniec commented 4 years ago

The existing URLS where the Earth orientation correction factors and time corrections are pulled from are broken (and apparently have been for some time...)

Jvinniec commented 4 years ago

This might require a more drastic rethinking of how to compute the timing offsets within CppEphem itself. My thought is to compute the UTC-TAI offset and use that to get TT, which is a strict 32.184 sec offset from TAI. I believe this is similar to how astropy does it.

UTC-TAI basically tracks the number of leap seconds that have been added. This means that the difference is always an integer number of seconds.