Package org.orekit.files.ccsds
Class OMMFile
- java.lang.Object
-
- org.orekit.files.ccsds.ODMFile
-
- org.orekit.files.ccsds.OGMFile
-
- org.orekit.files.ccsds.OMMFile
-
public class OMMFile extends OGMFile
This class gathers the informations present in the Orbital Mean-Elements Message (OMM), and contains methods to generate aCartesianOrbit, aKeplerianOrbit, aSpacecraftStateand, eventually, aTLE.- Since:
- 6.1
- Author:
- sports
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOMMFile.OMMMetaData
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartesianOrbitgenerateCartesianOrbit()Generate aCartesianOrbitfrom theKeplerianOrbit.KeplerianOrbitgenerateKeplerianOrbit()Generate aKeplerianOrbitbased on the OMM mean Keplerian elements.SpacecraftStategenerateSpacecraftState()Generate spacecraft state from theKeplerianOrbitgenerated by generateKeplerianOrbit.TLEgenerateTLE()Generate TLE from OMM file.doublegetBStar()Get the SGP/SGP4 drag-like coefficient.chargetClassificationType()Get the classification type.StringgetElementSetNumber()Get the element set number for this satellite.intgetEphemerisType()Get the ephemeris type.doublegetMeanMotion()Get the orbit mean motion.doublegetMeanMotionDot()Get the first time derivative of the mean motion.doublegetMeanMotionDotDot()Get the second time derivative of the mean motion.OMMFile.OMMMetaDatagetMetaData()Get the meta data.IntegergetNoradID()Get the NORAD Catalog Number ("Satellite Number").intgetRevAtEpoch()Get the revolution rumber.List<String>getTLERelatedParametersComment()Get the comment for TLE related parameters.-
Methods inherited from class org.orekit.files.ccsds.OGMFile
getA, getAnomaly, getAnomalyType, getCovarianceComment, getCovarianceMatrix, getCovRefFrame, getCovRefLofType, getDragArea, getDragCoeff, getE, getEpoch, getEpochComment, getI, getKeplerianElementsComment, getMass, getPa, getRaan, getSolarRadArea, getSolarRadCoeff, getSpacecraftComment, getUserDefinedParameters, hasCovarianceMatrix, hasKeplerianElements
-
Methods inherited from class org.orekit.files.ccsds.ODMFile
getConventions, getCreationDate, getFormatVersion, getHeaderComment, getMissionReferenceDate, getMuCreated, getMuParsed, getMuSet, getMuUsed, getOriginator, setMuUsed
-
-
-
-
Method Detail
-
getMetaData
public OMMFile.OMMMetaData getMetaData()
Get the meta data.- Specified by:
getMetaDatain classOGMFile- Returns:
- meta data
-
getMeanMotion
public double getMeanMotion()
Get the orbit mean motion.- Returns:
- the orbit mean motion
-
getEphemerisType
public int getEphemerisType()
Get the ephemeris type.- Returns:
- the ephemerisType
-
getClassificationType
public char getClassificationType()
Get the classification type.- Returns:
- the classificationType
-
getNoradID
public Integer getNoradID()
Get the NORAD Catalog Number ("Satellite Number").- Returns:
- the NORAD Catalog Number
-
getElementSetNumber
public String getElementSetNumber()
Get the element set number for this satellite.- Returns:
- the element set number for this satellite
-
getRevAtEpoch
public int getRevAtEpoch()
Get the revolution rumber.- Returns:
- the revolution rumber
-
getBStar
public double getBStar()
Get the SGP/SGP4 drag-like coefficient.- Returns:
- the SGP/SGP4 drag-like coefficient
-
getMeanMotionDot
public double getMeanMotionDot()
Get the first time derivative of the mean motion.- Returns:
- the first time derivative of the mean motion
-
getMeanMotionDotDot
public double getMeanMotionDotDot()
Get the second time derivative of the mean motion.- Returns:
- the second time derivative of the mean motion
-
getTLERelatedParametersComment
public List<String> getTLERelatedParametersComment()
Get the comment for TLE related parameters.- Returns:
- comment for TLE related parameters
-
generateKeplerianOrbit
public KeplerianOrbit generateKeplerianOrbit()
Generate aKeplerianOrbitbased on the OMM mean Keplerian elements. If the reference frame is not pseudo-inertial, an exception is raised.- Returns:
- the
KeplerianOrbitgenerated from the OMM information
-
generateCartesianOrbit
public CartesianOrbit generateCartesianOrbit()
Generate aCartesianOrbitfrom theKeplerianOrbit.- Returns:
- the
CartesianOrbitgenerated from the OPM information
-
generateSpacecraftState
public SpacecraftState generateSpacecraftState()
Generate spacecraft state from theKeplerianOrbitgenerated by generateKeplerianOrbit. Raises an exception if OMM doesn't contain spacecraft mass information.- Returns:
- the spacecraft state of the OMM
-
generateTLE
public TLE generateTLE()
Generate TLE from OMM file. Launch Year, Launch Day and Launch Piece are not present in the OMM file, they have to be set manually by the user with the AdditionalData static class.- Returns:
- the tle
-
-