Class Oem
- java.lang.Object
-
- org.orekit.files.ccsds.ndm.NdmConstituent<OdmHeader,OemSegment>
-
- org.orekit.files.ccsds.ndm.odm.oem.Oem
-
- All Implemented Interfaces:
EphemerisFile<TimeStampedPVCoordinates,OemSegment>
public class Oem extends NdmConstituent<OdmHeader,OemSegment> implements EphemerisFile<TimeStampedPVCoordinates,OemSegment>
This class stores all the information of the OEM File parsed by OEMParser.It contains the header and a list of Ephemerides Blocks each containing metadata, a list of ephemerides data lines and optional covariance matrices (and their metadata).
- Since:
- 6.1
- Author:
- sports, Evan Ward
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.orekit.files.general.EphemerisFile
EphemerisFile.EphemerisSegment<C extends TimeStampedPVCoordinates>, EphemerisFile.SatelliteEphemeris<C extends TimeStampedPVCoordinates,S extends EphemerisFile.EphemerisSegment<C>>
-
-
Field Summary
Fields Modifier and Type Field Description static String
FORMAT_VERSION_KEY
Key for format version.static String
ROOT
Root element for XML files.
-
Constructor Summary
Constructors Constructor Description Oem(OdmHeader header, List<OemSegment> segments, IERSConventions conventions, DataContext dataContext, double mu)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkTimeSystems()
Check that, according to the CCSDS standard, every OEMBlock has the same time system.Map<String,OemSatelliteEphemeris>
getSatellites()
Get the loaded ephemeris for each satellite in the file.-
Methods inherited from class org.orekit.files.ccsds.ndm.NdmConstituent
getConventions, getDataContext, getHeader, getSegments, setHeader, setSegments, validate
-
-
-
-
Field Detail
-
ROOT
public static final String ROOT
Root element for XML files.- See Also:
- Constant Field Values
-
FORMAT_VERSION_KEY
public static final String FORMAT_VERSION_KEY
Key for format version.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Oem
public Oem(OdmHeader header, List<OemSegment> segments, IERSConventions conventions, DataContext dataContext, double mu)
Simple constructor.- Parameters:
header
- file headersegments
- file segmentsconventions
- IERS conventionsdataContext
- used for creating frames, time scales, etc.mu
- gravitational coefficient
-
-
Method Detail
-
getSatellites
public Map<String,OemSatelliteEphemeris> getSatellites()
Get the loaded ephemeris for each satellite in the file.- Specified by:
getSatellites
in interfaceEphemerisFile<TimeStampedPVCoordinates,OemSegment>
- Returns:
- a map from the satellite's ID to the information about that satellite contained in the file.
-
checkTimeSystems
public void checkTimeSystems()
Check that, according to the CCSDS standard, every OEMBlock has the same time system.
-
-