1 #ifndef CARMA_SERVICES_IERSTABLE_H
2 #define CARMA_SERVICES_IERSTABLE_H
47 IERSTable(
const std::string& filename =
"");
58 void open(
const std::string& filename);
69 double dut1(
const double mjd);
75 double xpolar(
const double mjd);
81 double ypolar(
const double mjd);
122 ::std::string filename_;
128 std::vector<double> mjd_;
129 std::vector<double> dut1_;
130 std::vector<double> xpolar_;
131 std::vector<double> ypolar_;
133 void setIndex(
const double mjd);
140 #endif // CARMA_SERVICES_IERSTABLE_H
class to access (processed) IERS tables The IERSTable class reads a (processed by mk-iers...
static const double MAX_ALLOWABLE_DAYS_OUT_OF_DATE
Maximum time allowed between updates of the on line IERS tables.
virtual ~IERSTable()
Destructor.
double getMaxMJD(void)
return maximum valid MJD
double getMinMJD(void)
return minimum valid MJD
IERSTable(const std::string &filename="")
void open(const std::string &filename)
Open IERS table.
void reload()
Re-read the disk file.
double dut1(const double mjd)
get the UT1-UTC (dut1) in seconds for given MJD
double age(void)
return the age in days of this table.
double ypolar(const double mjd)
get the y polar wobble in arc seconds for given MJD
void close(void)
Close IERS access, ready it for another table.
double xpolar(const double mjd)
get the x polar wobble in arc seconds for given MJD