class EOPPrediction. Earth orientation parameter prediction Read data from EOPP###.txt file, available from NGA. 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 81 of file EOPPrediction.hpp.
#include <EOPPrediction.hpp>
Public Member Functions | |
| EarthOrientation | computeEOP (double &mjd) const |
| EarthOrientation | computeEOP (int &imjd) const |
| int | getValidTime () const |
| int | loadFile (const std::string &filename) |
Static Public Member Functions | |
| static int | getSerialNumber (int mjd) |
Public Attributes | |
| std::string | Info |
| information, including the MJD of generation of these parameters. More... | |
| int | SerialNo |
| the number used in the file name 'EOPP<SN>.txt' More... | |
| int | TAIUTC |
Private Attributes | |
| double | A |
| parameters used in the formulas More... | |
| double | B |
| double | C1 |
| double | C2 |
| double | D1 |
| double | D2 |
| double | E |
| double | F |
| double | G1 |
| double | G2 |
| double | H1 |
| double | H2 |
| double | I |
| double | J |
| double | K1 |
| double | K2 |
| double | K3 |
| double | K4 |
| double | L1 |
| double | L2 |
| double | L3 |
| double | L4 |
| double | P1 |
| more parameters used in the formulas More... | |
| double | P2 |
| double | Q1 |
| double | Q2 |
| double | R1 |
| double | R2 |
| double | R3 |
| double | R4 |
| double | ta |
| reference times (MJD) used in the formulas More... | |
| double | tb |
| double | tv |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const EOPPrediction &eopp) |
| EarthOrientation gnsstk::EOPPrediction::computeEOP | ( | double & | mjd | ) | const |
Compute and return the Earth orientation parameters at the given epoch. TD how to warn if input is outside limits of validity?
| mjd | Time (MJD) at which to compute the earth orientation parameters. |
Definition at line 267 of file EOPPrediction.cpp.
|
inline |
Compute and return the Earth orientation parameters at the given MJD. TD how to warn if input is outside limits of validity?
| imjd | integer MJD at which to compute the earth orientation parameters |
| Exception |
Definition at line 138 of file EOPPrediction.hpp.
|
static |
Generate serial number (NGA files are named EOPP<SN>.txt) from epoch. SN (3 digit) = YWW : year (1 digit), week of year (2 digit)
| mjd | Time (MJD) at which to compute the serial number |
| Exception |
Definition at line 216 of file EOPPrediction.cpp.
|
inline |
access the time (MJD) of validity of these parameters; the range of validity is 'this' through 'this'+7.
Definition at line 112 of file EOPPrediction.hpp.
| int gnsstk::EOPPrediction::loadFile | ( | const std::string & | filename | ) |
load the EOPPrediction in the given file
| filename | Name of file to read, including path. |
| FileMissingException | if filename cannot be opened. |
Definition at line 56 of file EOPPrediction.cpp.
|
friend |
Stream output for the EOPPrediction, in format of EOPP###.txt files.
| os | stream to append formatted EOPPrediction to. |
|
private |
parameters used in the formulas
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
| std::string gnsstk::EOPPrediction::Info |
information, including the MJD of generation of these parameters.
Definition at line 106 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 92 of file EOPPrediction.hpp.
|
private |
Definition at line 93 of file EOPPrediction.hpp.
|
private |
Definition at line 93 of file EOPPrediction.hpp.
|
private |
Definition at line 93 of file EOPPrediction.hpp.
|
private |
Definition at line 93 of file EOPPrediction.hpp.
|
private |
more parameters used in the formulas
Definition at line 95 of file EOPPrediction.hpp.
|
private |
Definition at line 95 of file EOPPrediction.hpp.
|
private |
Definition at line 95 of file EOPPrediction.hpp.
|
private |
Definition at line 95 of file EOPPrediction.hpp.
|
private |
Definition at line 95 of file EOPPrediction.hpp.
|
private |
Definition at line 95 of file EOPPrediction.hpp.
|
private |
Definition at line 95 of file EOPPrediction.hpp.
|
private |
Definition at line 95 of file EOPPrediction.hpp.
| int gnsstk::EOPPrediction::SerialNo |
the number used in the file name 'EOPP<SN>.txt'
Definition at line 104 of file EOPPrediction.hpp.
|
private |
reference times (MJD) used in the formulas
Definition at line 90 of file EOPPrediction.hpp.
| int gnsstk::EOPPrediction::TAIUTC |
the difference between TAI and UTC in seconds - not used in the computation
Definition at line 102 of file EOPPrediction.hpp.
|
private |
Definition at line 90 of file EOPPrediction.hpp.
|
private |
MJD of beginning of times at which this formula is valid; end time of validity is tv+7. In EOPP files, this is an integer.
Definition at line 88 of file EOPPrediction.hpp.