CARMA C++
|
class to access (processed) IERS tables The IERSTable class reads a (processed by mk-iers.awk) IERS table and allows rapid searching in MJD to return the dut1, xpolar and ypolar wobbles. More...
#include <carma/services/IERSTable.h>
Public Member Functions | |
double | age (void) |
return the age in days of this table. More... | |
void | close (void) |
Close IERS access, ready it for another table. More... | |
double | dut1 (const double mjd) |
get the UT1-UTC (dut1) in seconds for given MJD More... | |
double | getMaxMJD (void) |
return maximum valid MJD More... | |
double | getMinMJD (void) |
return minimum valid MJD More... | |
IERSTable (const std::string &filename="") | |
bool | isOutOfDate () |
void | open (const std::string &filename) |
Open IERS table. More... | |
void | reload () |
Re-read the disk file. More... | |
double | xpolar (const double mjd) |
get the x polar wobble in arc seconds for given MJD More... | |
double | ypolar (const double mjd) |
get the y polar wobble in arc seconds for given MJD More... | |
virtual | ~IERSTable () |
Destructor. More... | |
Static Public Attributes | |
static const double | MAX_ALLOWABLE_DAYS_OUT_OF_DATE |
Maximum time allowed between updates of the on line IERS tables. More... | |
class to access (processed) IERS tables The IERSTable class reads a (processed by mk-iers.awk) IERS table and allows rapid searching in MJD to return the dut1, xpolar and ypolar wobbles.
Definition at line 39 of file IERSTable.h.
carma::services::IERSTable::IERSTable | ( | const std::string & | filename = "" | ) |
filename | IERS file to read the table from |
The default constructor will open conf/catalog/IERS.tab
|
virtual |
Destructor.
double carma::services::IERSTable::age | ( | void | ) |
return the age in days of this table.
The age is the difference between 'today' and the first date in the table.
void carma::services::IERSTable::close | ( | void | ) |
Close IERS access, ready it for another table.
double carma::services::IERSTable::dut1 | ( | const double | mjd | ) |
get the UT1-UTC (dut1) in seconds for given MJD
double carma::services::IERSTable::getMaxMJD | ( | void | ) |
return maximum valid MJD
Definition at line 92 of file IERSTable.h.
double carma::services::IERSTable::getMinMJD | ( | void | ) |
return minimum valid MJD
Definition at line 86 of file IERSTable.h.
bool carma::services::IERSTable::isOutOfDate | ( | ) |
void carma::services::IERSTable::open | ( | const std::string & | filename | ) |
Open IERS table.
void carma::services::IERSTable::reload | ( | ) |
Re-read the disk file.
double carma::services::IERSTable::xpolar | ( | const double | mjd | ) |
get the x polar wobble in arc seconds for given MJD
double carma::services::IERSTable::ypolar | ( | const double | mjd | ) |
get the y polar wobble in arc seconds for given MJD
|
static |
Maximum time allowed between updates of the on line IERS tables.
Time since update is determined by current day minus the first day in the table.
Definition at line 119 of file IERSTable.h.