Class OmmTle

  • All Implemented Interfaces:
    Section

    public class OmmTle
    extends CommentsContainer
    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 Detail

      • EPHEMERIS_TYPE_SGP

        public static final int EPHEMERIS_TYPE_SGP
        Constant for EPHEMERIS_TYPE SGP.
        Since:
        12.0
        See Also:
        Constant Field Values
      • EPHEMERIS_TYPE_SGP4

        public static final int EPHEMERIS_TYPE_SGP4
        Constant for EPHEMERIS_TYPE SGP4.
        Since:
        12.0
        See Also:
        Constant Field Values
      • EPHEMERIS_TYPE_PPT3

        public static final int EPHEMERIS_TYPE_PPT3
        Constant for EPHEMERIS_TYPE PPT3.
        Since:
        12.0
        See Also:
        Constant Field Values
      • EPHEMERIS_TYPE_SGP4_XP

        public static final int EPHEMERIS_TYPE_SGP4_XP
        Constant for EPHEMERIS_TYPE SGP4-XP.
        Since:
        12.0
        See Also:
        Constant Field Values
      • EPHEMERIS_TYPE_SPECIAL_PERTURBATIONS

        public static final int EPHEMERIS_TYPE_SPECIAL_PERTURBATIONS
        Constant for EPHEMERIS_TYPE Special Perturbations.
        Since:
        12.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • OmmTle

        public OmmTle()
        Create an empty data set.
    • Method Detail

      • 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:
        validate in interface Section
        Overrides:
        validate in class CommentsContainer
        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