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 -
Constructor Summary
ConstructorsConstructorDescriptionOem(OdmHeader header, List<OemSegment> segments, IERSConventions conventions, DataContext dataContext, double mu) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidCheck that, according to the CCSDS standard, every OEMBlock has the same time system.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 Details
-
ROOT
Root element for XML files.- See Also:
-
FORMAT_VERSION_KEY
Key for format version.- See Also:
-
UNKNOWN_OBJECT
Default name for unknown object.- See Also:
-
-
Constructor Details
-
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 Details
-
getSatellites
Get the loaded ephemeris for each satellite in the file.The metadata entries checked for use as the key are the following ones, the first non-null being used. The map from OEM files always contains only one object.
OdmCommonMetadata.getObjectID()OBJECT_ID} if non-null and not equal toUNKNOWN_OBJECTOBJECT_NAME- the default name
UNKNOWN_OBJECTfor unknown objects
- Specified by:
getSatellitesin 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.
-