Function lupnt::LoadEopFileData¶
Defined in File eop.cc
Function Documentation¶
-
void lupnt::LoadEopFileData(const std::filesystem::path &filepath, bool force = false)¶
Parse an IERS EOP 14 C04 (IAU1980) time-series file into the global EOP table.
Called lazily (via GetEopFileData/GetEopData) the first time Earth orientation data is needed, using the bundled file at GetFilePath(EOP_FILENAME); also called by LoadLatestEopFromIers after downloading a fresh file. Subsequent calls are no-ops unless
forceis set, since all later frame conversions (GcrfToItrf/ItrfToGcrf via RotPolarMotion/RotSideralMotion) and time conversions (UT1-UTC) read from this table.- Parameters:
filepath – Path to an IERS EOP 14 C04 (IAU1980) text file (14 header lines followed by whitespace-separated columns: year, month, day, MJD (UTC), x_pole, y_pole, UT1-UTC, LOD, dpsi, deps, and their formal errors).
force – If true, reload and replace any previously-loaded EOP table even if data is already present (default: false).