#include <EarthOrientation.hpp>
The formulas are: 2 2 xp(t)= A + B(t-ta) + SUM(Cj sin[2pi(t-ta)/Pj]) + SUM(Dj cos[2pi(t-ta)/Pj]) j=1 j=1
2 2 yp(t)= E + F(t-ta) + SUM(Gk sin[2pi(t-ta)/Qk]) + SUM(Hk cos[2pi(t-ta)/Qk]) k=1 k=1
4 4 UT1-UTC(t)= I+J(t-tb) + SUM(Km sin[2pi(t-tb)/Rm]) + SUM(Lm cos[2pi(t-tb)/Rm]) m=1 m=1 Ref. NGA document 'Earth Orientation Parameter Prediction (EOPP) Description' Effective date 08 August 2004 http://earth-info.nga.mil/GandG/sathtml/eoppdoc.html
Definition at line 97 of file EarthOrientation.hpp.
Public Member Functions | |
| int | getValidTime (void) const throw () |
| access the time (MJD) of validity of these parameters; the range of validity is 'this' through 'this'+7. | |
| int | loadFile (std::string filename) throw (FileMissingException) |
| load the EOPPrediction in the given file | |
| EarthOrientation | computeEOP (int &mjd) const throw (DayTime::DayTimeException) |
| Compute and return the Earth orientation parameters at the given MJD. | |
| EarthOrientation | computeEOP (DayTime &t) const throw () |
| Compute and return the Earth orientation parameters at the given epoch. | |
Static Public Member Functions | |
| int | getSerialNumber (DayTime &t) throw (DayTime::DayTimeException) |
| Generate serial number (NGA files are named EOPP<SN>.txt) from epoch. | |
| int | getSerialNumber (int mjd) throw (DayTime::DayTimeException) |
Public Attributes | |
| int | TAIUTC |
| the difference between TAI and UTC in seconds - not used in the computation | |
| int | SerialNo |
| the number used in the file name 'EOPP<sn>.txt' | |
| std::string | Info |
| information, including the MJD of generation of these parameters. | |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const EOPPrediction &) |
| Stream output for the EOPPrediction, in format of EOPP###.txt files. | |
|
|
Compute and return the Earth orientation parameters at the given epoch. TD how to warn if input is outside limits of validity?
Definition at line 215 of file EarthOrientation.cpp. References gpstk::cos(), L1, L2, DayTime::MJD(), P1, P2, DayTime::secOfDay(), gpstk::sin(), TWO_PI, EarthOrientation::UT1mUTC, EarthOrientation::xp, and EarthOrientation::yp. |
|
|
Compute and return the Earth orientation parameters at the given MJD. TD how to warn if input is outside limits of validity?
Definition at line 193 of file EarthOrientation.cpp. References GPSTK_RETHROW, and DayTime::setMJD(). Referenced by EOPStore::addEOPPFile(). |
|
|
Definition at line 139 of file EarthOrientation.hpp. References DayTime::setMJD(). |
|
|
Generate serial number (NGA files are named EOPP<SN>.txt) from epoch. SN (3 digit) = YWW : year (1 digit), week of year (2 digit)
Definition at line 163 of file EarthOrientation.cpp. References DayTime::dayOfWeek(), DayTime::GPSfullweek(), GPSTK_RETHROW, GPSTK_THROW, DayTime::setGPSfullweek(), DayTime::setYMDHMS(), and DayTime::year(). |
|
|
access the time (MJD) of validity of these parameters; the range of validity is 'this' through 'this'+7.
Definition at line 120 of file EarthOrientation.hpp. Referenced by EOPStore::addEOPPFile(). |
|
|
load the EOPPrediction in the given file
Definition at line 74 of file EarthOrientation.cpp. References gpstk::StringUtils::asDouble(), gpstk::StringUtils::asInt(), GPSTK_THROW, L1, L2, P1, P2, gpstk::StringUtils::stripTrailing(), and gpstk::StringUtils::word(). Referenced by EOPStore::addEOPPFile(). |
|
||||||||||||
|
Stream output for the EOPPrediction, in format of EOPP###.txt files.
|
|
|
information, including the MJD of generation of these parameters.
Definition at line 115 of file EarthOrientation.hpp. Referenced by gpstk::operator<<(). |
|
|
the number used in the file name 'EOPP<sn>.txt'
Definition at line 113 of file EarthOrientation.hpp. Referenced by gpstk::operator<<(). |
|
|
the difference between TAI and UTC in seconds - not used in the computation
Definition at line 111 of file EarthOrientation.hpp. Referenced by gpstk::operator<<(). |
1.3.9.1