Function lupnt::LoadLatestEopFromIers

Function Documentation

bool lupnt::LoadLatestEopFromIers(bool force = true)

Download the latest IERS EOP 14 C04 (IAU1980) time series and load it, replacing any previously-loaded EOP data.

Used at simulation startup (or on demand) to refresh the polar-motion/UT1-UTC table used by GetEopData/GetUt1UtcDifference with up-to-date IERS measurements instead of the bundled snapshot. Caches the downloaded file under GetDataPath()/”planetary_coeff”/”eopc04_iers_latest.txt”. On download failure, ensures the bundled EOP file is loaded (if not already) and returns false.

Parameters:

force – If true, reload even if EOP data has already been loaded (default: true).

Returns:

True if the latest IERS data was downloaded and loaded successfully, false if the download failed (in which case the bundled data is used as a fallback).