Class RinexClock.ClockDataLine

  • Enclosing class:
    RinexClock

    public class RinexClock.ClockDataLine
    extends Object
    Clock data for a single station.

    Data epoch is not linked to any time system in order to pars files with missing lines. Though, the default version of the getEpoch() method links the data time components with the clock file object time scale. The latter can be set with a default value (UTC). Caution is recommanded.

    • Constructor Detail

      • ClockDataLine

        public ClockDataLine​(RinexClock.ClockDataType type,
                             String name,
                             DateComponents dateComponents,
                             TimeComponents timeComponents,
                             int numberOfValues,
                             double clockBias,
                             double clockBiasSigma,
                             double clockRate,
                             double clockRateSigma,
                             double clockAcceleration,
                             double clockAccelerationSigma)
        Constructor.
        Parameters:
        type - the clock data type
        name - the receiver/satellite name
        dateComponents - the epoch date components
        timeComponents - the epoch time components
        numberOfValues - the number of values to follow
        clockBias - the clock bias in seconds
        clockBiasSigma - the clock bias sigma in seconds
        clockRate - the clock rate
        clockRateSigma - the clock rate sigma
        clockAcceleration - the clock acceleration in seconds^-1
        clockAccelerationSigma - the clock acceleration in seconds^-1
    • Method Detail

      • getDataType

        public RinexClock.ClockDataType getDataType()
        Getter for the clock data type.
        Returns:
        the clock data type
      • getName

        public String getName()
        Getter for the receiver/satellite name.
        Returns:
        the receiver/satellite name
      • getNumberOfValues

        public int getNumberOfValues()
        Getter for the number of values to follow.
        Returns:
        the number of values to follow
      • getEpoch

        public AbsoluteDate getEpoch()
        Get data line epoch. This method should be used if Time System ID line is present in the clock file. If it is missing, UTC time scale will be applied. To specify tim scale, use getEpoch(TimeScale) method.
        Returns:
        the data line epoch
      • getEpoch

        public AbsoluteDate getEpoch​(TimeScale epochTimeScale)
        Get data line epoch. This method should be used in case Time System ID line is missing. Otherwise, it is adviced to rather use getEpoch() method.
        Parameters:
        epochTimeScale - the time scale in which the epoch is defined
        Returns:
        the data line epoch set in the specified time scale
      • getClockBias

        public double getClockBias()
        Getter for the clock bias.
        Returns:
        the clock bias in seconds
      • getClockBiasSigma

        public double getClockBiasSigma()
        Getter for the clock bias sigma.
        Returns:
        the clock bias sigma in seconds
      • getClockRate

        public double getClockRate()
        Getter for the clock rate.
        Returns:
        the clock rate
      • getClockRateSigma

        public double getClockRateSigma()
        Getter for the clock rate sigma.
        Returns:
        the clock rate sigma
      • getClockAcceleration

        public double getClockAcceleration()
        Getter for the clock acceleration.
        Returns:
        the clock acceleration in seconds^-1
      • getClockAccelerationSigma

        public double getClockAccelerationSigma()
        Getter for the clock acceleration sigma.
        Returns:
        the clock acceleration sigma in seconds^-1