#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 96 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 (Exception) |
| Compute and return the Earth orientation parameters at the given MJD. | |
| EarthOrientation | computeEOP (CommonTime &t) const throw () |
| Compute and return the Earth orientation parameters at the given epoch. | |
Static Public Member Functions | |
| int | getSerialNumber (CommonTime &t) throw (Exception) |
| Generate serial number (NGA files are named EOPP<SN>.txt) from epoch. | |
| int | getSerialNumber (int mjd) throw (Exception) |
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 219 of file EarthOrientation.cpp. References gpstk::cos(), L1, L2, P1, P2, 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 197 of file EarthOrientation.cpp. References GPSTK_RETHROW. Referenced by EOPStore::addEOPPFile(). |
|
|
Definition at line 138 of file EarthOrientation.hpp. |
|
|
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 167 of file EarthOrientation.cpp. References GPSTK_RETHROW, and GPSTK_THROW. |
|
|
access the time (MJD) of validity of these parameters; the range of validity is 'this' through 'this'+7.
Definition at line 119 of file EarthOrientation.hpp. Referenced by EOPStore::addEOPPFile(). |
|
|
load the EOPPrediction in the given file
Definition at line 78 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 114 of file EarthOrientation.hpp. Referenced by gpstk::operator<<(). |
|
|
the number used in the file name 'EOPP<sn>.txt'
Definition at line 112 of file EarthOrientation.hpp. Referenced by gpstk::operator<<(). |
|
|
the difference between TAI and UTC in seconds - not used in the computation
Definition at line 110 of file EarthOrientation.hpp. Referenced by gpstk::operator<<(). |
1.3.9.1