Package org.orekit.files.general
EphemerisFile
and EphemerisFileParser
provide a standardized interface for
accessing the date in ephemeris files. Each ephemeris file can have data for one ore
more satellites and the ephemeris for each satellite can have one or more segments.
Each ephemeris segment is interpolated independently so ephemeris segments are
commonly used for discontinuous events, such as maneuvers. Each specific implementation
provides access to additional information in the file by providing specialized return
types with extra getters for the information unique to that file type.
For example to create a propagator from an OEM file one can use:
EphemerisFileParser parser = new OEMParser()
.withConventions(IERSConventions.IERS_2010);
EphemerisFile file = parser.parse("my/ephemeris/file.oem");
BoundedPropagator propagator = file.getPropagator();
The parsed ephemeris file also provides access to the individual data records in
the file.
// ... continued from previous example
// get a satellite by ID string
SatelliteEphemeris sat = file.getSatellites().get("satellite ID");
// get first ephemeris segment
EphemerisSegment segment = sat.getSegments().get(0)
// get first state vector in segment
TimeStampedPVCoordinate pv = segment.getCoordinates().get(0);
- Author:
- T. Neidhart, Evan Ward
-
Interface Summary Interface Description EphemerisFile An interface for accessing the data stored in an ephemeris file and using the data to create a workingPropagator
.EphemerisFile.EphemerisSegment A segment of an ephemeris for a satellite.EphemerisFile.SatelliteEphemeris Contains the information about a single satellite from anEphemerisFile
.EphemerisFileParser Parse an ephemeris file.EphemerisFileWriter An interface for writing out ephemeris files to disk. -
Class Summary Class Description OrekitEphemerisFile A class for encapsulating Orekit propagators within anEphemerisFile
complaint object that makes for easy serialization to external ephemeris formats like OEM.OrekitEphemerisFile.OrekitEphemerisSegment OrekitEphemerisFile.OrekitSatelliteEphemeris Inner class ofOrekitEphemerisFile
that defines theOrekitEphemerisFile.OrekitSatelliteEphemeris
corresponding object for this ephemeris type.