Function lupnt::LoadIauSofaFileData¶
Defined in File iau_sofa.cc
Function Documentation¶
-
void lupnt::LoadIauSofaFileData(const std::filesystem::path &filepath)¶
Parse a tabulated IAU SOFA CIP coordinates / CIO locator file (IAU_SOFA.DAT) into the global precession-nutation series table.
Called lazily by GetIauSofaData (via GetFilePath(IAU_SOFA_FILENAME)) the first time the IAU 2006/2000A precession-nutation matrix is needed. Subsequent calls are no-ops once data is loaded.
- Parameters:
filepath – Path to a whitespace-separated text file with columns: Julian Date (TT), CIP coordinate X [arcsec], CIP coordinate Y [arcsec], CIO locator s [arcsec], one row per day.