This class provides the functionality of SolarSytemEphemeris in the Earth-centered Earth-fixed (ECEF) frame, and makes use of this to implement models for solid Earth tides (SETs) as well as geometry-related functions involving satellite, Sun, Moon and Earth, e.g. satellite attitude.
The class publicly inherits two large classes: class SolarSystemEphemeris (the JPL solar system ephemeris) and class EOPStore (storage and retrieval of Earth orientiation parameters). The motivation for this design is that the fundamental routine of the ephemeris, SolarSystem::ECEFPositionVelocity(planet,time), always requires simultaneous EarthOrientiation data, and this class enforces that requirement. This design allows the class to retrieve EOPs and with them implement the transformation from the inertial (celestial) frame of the solar system ephemeris to the ECEF (terrestrial) frame (using class EarthOrientation).
The class must first be initialized by initializing both SolarSystemEphemeris and EOPStore. SolarSystemEphemeris is initialized by calling initializeWithBinaryFile(filename), passing the name of a SolarSystem binary file (cf. the convertSSEph app that read JPL ASCII files and creates a binary file). EOPStore is initialized by calling addIERSFile(filename), passing it the finals2000A.data or similar file obtained, e.g. from USNO. (See documentation for both SolarSystemEphemeris and EOPStore).
The IERS convention (1996, 2003 or 2010) is also included in the class; it is required by EarthOrientation but must be consistent with the SolarSystemEphemeris.
Definition in file SolarSystem.hpp.
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include "EphTime.hpp"
#include "Exception.hpp"
#include "Position.hpp"
#include "EOPStore.hpp"
#include "EarthOrientation.hpp"
#include "IERSConvention.hpp"
#include "SolarSystemEphemeris.hpp"
#include "SolidEarthTides.hpp"
#include "SunEarthSatGeometry.hpp"
#include "logstream.hpp"
Go to the source code of this file.
Classes | |
class | gnsstk::SolarSystem |
Namespaces | |
gnsstk | |
For Sinex::InputHistory. | |