Class OmmTle
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.odm.omm.OmmTle
- All Implemented Interfaces:
Section
Container for TLE data.
Beware that the Orekit getters and setters all rely on SI units. The parsers
and writers take care of converting these SI units into CCSDS mandatory units.
The Unit class provides useful
fromSi and
toSI methods in case the callers
already use CCSDS units instead of the API SI units. The general-purpose
Unit class (without an 's') and the
CCSDS-specific Units class
(with an 's') also provide some predefined units. These predefined units and the
fromSi and
toSI conversion methods are indeed
what the parsers and writers use for the conversions.
- Since:
- 6.1
- Author:
- sports
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant for EPHEMERIS_TYPE PPT3.static final intConstant for EPHEMERIS_TYPE SGP.static final intConstant for EPHEMERIS_TYPE SGP4.static final intConstant for EPHEMERIS_TYPE SGP4-XP.static final intConstant for EPHEMERIS_TYPE Special Perturbations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAGoM()Get the SGP4-XP solar radiation pressure-like coefficient Aγ/m.doublegetBStar()Get the SGP/SGP4 drag-like coefficient.doublegetBTerm()Get the SGP4-XP drag-like coefficient.charGet the classification type.intGet the element set number for this satellite.intGet the ephemeris type.doubleGet the first time derivative of the mean motion.doubleGet the second time derivative of the mean motion.intGet the NORAD Catalog Number ("Satellite Number").intGet the revolution rumber.voidsetAGoM(double agom) Set the SGP4-XP solar radiation pressure-like coefficient Aγ/m.voidsetBStar(double bstar) Set the SGP/SGP4 drag-like coefficient.voidsetBTerm(double bterm) Set the SGP4-XP drag-like coefficient.voidsetClassificationType(char classificationType) Set the classification type.voidsetElementSetNo(int elementSetNo) Set the element set number for this satellite.voidsetEphemerisType(int ephemerisType) Set the ephemeris type.voidsetMeanMotionDot(double meanMotionDot) Set the first time derivative of the mean motion.voidsetMeanMotionDotDot(double meanMotionDotDot) Set the second time derivative of the mean motion.voidsetNoradID(int noradID) Set the NORAD Catalog Number ("Satellite Number").voidsetRevAtEpoch(int revAtEpoch) Set the revolution rumber.voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
Field Details
-
EPHEMERIS_TYPE_SGP
public static final int EPHEMERIS_TYPE_SGPConstant for EPHEMERIS_TYPE SGP.- Since:
- 12.0
- See Also:
-
EPHEMERIS_TYPE_SGP4
public static final int EPHEMERIS_TYPE_SGP4Constant for EPHEMERIS_TYPE SGP4.- Since:
- 12.0
- See Also:
-
EPHEMERIS_TYPE_PPT3
public static final int EPHEMERIS_TYPE_PPT3Constant for EPHEMERIS_TYPE PPT3.- Since:
- 12.0
- See Also:
-
EPHEMERIS_TYPE_SGP4_XP
public static final int EPHEMERIS_TYPE_SGP4_XPConstant for EPHEMERIS_TYPE SGP4-XP.- Since:
- 12.0
- See Also:
-
EPHEMERIS_TYPE_SPECIAL_PERTURBATIONS
public static final int EPHEMERIS_TYPE_SPECIAL_PERTURBATIONSConstant for EPHEMERIS_TYPE Special Perturbations.- Since:
- 12.0
- See Also:
-
-
Constructor Details
-
OmmTle
public OmmTle()Create an empty data set.
-
-
Method Details
-
validate
public void validate(double version) Check is all mandatory entries have been initialized.This method should throw an exception if some mandatory entries are missing or not compatible with version number.
- Specified by:
validatein interfaceSection- Overrides:
validatein classCommentsContainer- Parameters:
version- format version
-
getEphemerisType
public int getEphemerisType()Get the ephemeris type.- Returns:
- the ephemerisType
-
setEphemerisType
public void setEphemerisType(int ephemerisType) Set the ephemeris type.- Parameters:
ephemerisType- the ephemeris type to be set
-
getClassificationType
public char getClassificationType()Get the classification type.- Returns:
- the classificationType
-
setClassificationType
public void setClassificationType(char classificationType) Set the classification type.- Parameters:
classificationType- the classification type to be set
-
getNoradID
public int getNoradID()Get the NORAD Catalog Number ("Satellite Number").- Returns:
- the NORAD Catalog Number
-
setNoradID
public void setNoradID(int noradID) Set the NORAD Catalog Number ("Satellite Number").- Parameters:
noradID- the element set number to be set
-
getElementSetNumber
public int getElementSetNumber()Get the element set number for this satellite.- Returns:
- the element set number for this satellite
-
setElementSetNo
public void setElementSetNo(int elementSetNo) Set the element set number for this satellite.- Parameters:
elementSetNo- the element set number to be set
-
getRevAtEpoch
public int getRevAtEpoch()Get the revolution rumber.- Returns:
- the revolution rumber
-
setRevAtEpoch
public void setRevAtEpoch(int revAtEpoch) Set the revolution rumber.- Parameters:
revAtEpoch- the Revolution Number to be set
-
getBStar
public double getBStar()Get the SGP/SGP4 drag-like coefficient.- Returns:
- the SGP/SGP4 drag-like coefficient
-
setBStar
public void setBStar(double bstar) Set the SGP/SGP4 drag-like coefficient.- Parameters:
bstar- the SGP/SGP4 drag-like coefficient to be set
-
getBTerm
public double getBTerm()Get the SGP4-XP drag-like coefficient.- Returns:
- the SGP4-XP drag-like coefficient
- Since:
- 12.0
-
setBTerm
public void setBTerm(double bterm) Set the SGP4-XP drag-like coefficient.- Parameters:
bterm- the SGP4-XP drag-like coefficient to be set- Since:
- 12.0
-
getMeanMotionDot
public double getMeanMotionDot()Get the first time derivative of the mean motion.- Returns:
- the first time derivative of the mean motion
-
setMeanMotionDot
public void setMeanMotionDot(double meanMotionDot) Set the first time derivative of the mean motion.- Parameters:
meanMotionDot- the first time derivative of the mean motion to be set
-
getMeanMotionDotDot
public double getMeanMotionDotDot()Get the second time derivative of the mean motion.- Returns:
- the second time derivative of the mean motion
-
setMeanMotionDotDot
public void setMeanMotionDotDot(double meanMotionDotDot) Set the second time derivative of the mean motion.- Parameters:
meanMotionDotDot- the second time derivative of the mean motion to be set
-
getAGoM
public double getAGoM()Get the SGP4-XP solar radiation pressure-like coefficient Aγ/m.- Returns:
- the SGP4-XP solar radiation pressure-like coefficient Aγ/m
- Since:
- 12.0
-
setAGoM
public void setAGoM(double agom) Set the SGP4-XP solar radiation pressure-like coefficient Aγ/m.- Parameters:
agom- the SGP4-XP solar radiation pressure-like coefficient Aγ/m to be set- Since:
- 12.0
-