#include <EarthOrientation.hpp>
Store EarthOrientation objects in a map with key = integer MJD at which the EOPs are computed. Access the store with any DayTime, linearly interpolating the stored EOPs to the given epoch.
Definition at line 177 of file EarthOrientation.hpp.
Public Member Functions | |
| EOPStore () | |
| Constructor. | |
| void | addEOP (int MJD, EarthOrientation &eop) throw () |
| Add to the store directly -- not recommended, use the form that takes EOPPrediction. | |
| int | addEOP (int MJD, EOPPrediction &eopp) throw (DayTime::DayTimeException) |
| Add to the store by computing using an EOPPrediction, this is the usual way. | |
| void | addFile (const std::string &filename) throw (FileMissingException) |
| Add EOPs to the store via an input file: either an EOPP file or a flat file produced by the IERS and available at USNO (see http://maia.usno.navy.mil/ and get either file 'finals.data' or finals2000A.data'). | |
| void | addEOPPFile (const std::string &filename) throw (FileMissingException) |
| Add EOPs to the store via an EOPP file: read the EOPPrediction from the file and then compute EOPs for all days within the valid range. | |
| void | addIERSFile (const std::string &filename) throw (FileMissingException) |
| Add EOPs to the store via a flat IERS file. | |
| void | edit (int mjdmin, int mjdmax) throw () |
| Edit the store by deleting all entries before(after) the given min(max) MJDs. | |
| void | edit (const DayTime &tmin, const DayTime &tmax) throw () |
| Edit the store by deleting all entries before(after) the given min(max) times. | |
| int | size (void) throw () |
| return the number of entries in the store | |
| void | clear (void) throw () |
| clear the store | |
| void | dump (short detail=0, std::ostream &s=std::cout) const throw () |
| Dump the store to cout. | |
| int | getFirstMJD (void) throw () |
| Return first time (MJD) in the store. | |
| int | getLastMJD (void) throw () |
| Return last time (MJD) in the store. | |
| EarthOrientation | getEOP (DayTime &t) const throw (InvalidRequest) |
| Get the EOP at the given epoch and return it. | |
|
|
Constructor.
Definition at line 187 of file EarthOrientation.hpp. |
|
||||||||||||
|
Add to the store by computing using an EOPPrediction, this is the usual way.
Definition at line 319 of file EarthOrientation.cpp. References GPSTK_RETHROW. |
|
||||||||||||
|
Add to the store directly -- not recommended, use the form that takes EOPPrediction.
Definition at line 298 of file EarthOrientation.cpp. |
|
|
Add EOPs to the store via an EOPP file: read the EOPPrediction from the file and then compute EOPs for all days within the valid range.
Definition at line 369 of file EarthOrientation.cpp. References EOPPrediction::computeEOP(), EOPPrediction::getValidTime(), GPSTK_RETHROW, and EOPPrediction::loadFile(). |
|
|
Add EOPs to the store via an input file: either an EOPP file or a flat file produced by the IERS and available at USNO (see http://maia.usno.navy.mil/ and get either file 'finals.data' or finals2000A.data').
Definition at line 341 of file EarthOrientation.cpp. References GPSTK_RETHROW, and gpstk::StringUtils::matches(). |
|
|
Add EOPs to the store via a flat IERS file.
Definition at line 396 of file EarthOrientation.cpp. References gpstk::StringUtils::asDouble(), gpstk::StringUtils::asInt(), GPSTK_THROW, gpstk::StringUtils::stripTrailing(), EarthOrientation::UT1mUTC, EarthOrientation::xp, and EarthOrientation::yp. |
|
|
clear the store
Definition at line 253 of file EarthOrientation.hpp. |
|
||||||||||||
|
Dump the store to cout.
Definition at line 479 of file EarthOrientation.cpp. References DayTime::printf(), DayTime::second(), and DayTime::setMJD(). |
|
||||||||||||
|
Edit the store by deleting all entries before(after) the given min(max) times. If tmin is later than tmax, the two times are switched. Definition at line 243 of file EarthOrientation.hpp. |
|
||||||||||||
|
Edit the store by deleting all entries before(after) the given min(max) MJDs. If mjdmin is later than mjdmax, the two are switched.
Definition at line 440 of file EarthOrientation.cpp. |
|
|
Get the EOP at the given epoch and return it.
Definition at line 510 of file EarthOrientation.cpp. References gpstk::StringUtils::asString(), GPSTK_THROW, DayTime::MJD(), EarthOrientation::UT1mUTC, EarthOrientation::xp, and EarthOrientation::yp. |
|
|
Return first time (MJD) in the store.
Definition at line 266 of file EarthOrientation.hpp. |
|
|
Return last time (MJD) in the store.
Definition at line 270 of file EarthOrientation.hpp. |
|
|
return the number of entries in the store
Definition at line 249 of file EarthOrientation.hpp. |
1.3.9.1