Class IonosphereKlobucharMessage


  • public class IonosphereKlobucharMessage
    extends IonosphereBaseMessage
    Container for data contained in a ionosphere Klobuchar message.
    Since:
    12.0
    Author:
    Luc Maisonobe
    • Constructor Detail

      • IonosphereKlobucharMessage

        public IonosphereKlobucharMessage​(SatelliteSystem system,
                                          int prn,
                                          String navigationMessageType)
        Simple constructor.
        Parameters:
        system - satellite system
        prn - satellite number
        navigationMessageType - navigation message type
    • Method Detail

      • getAlpha

        public double[] getAlpha()
        Get the α coefficients.

        Beware Orekit uses SI units here. In order to retrieve the more traditional s/semi-circleⁿ, use IonosphereKlobucharMessage.S_PER_SC_N[i].fromSI(alpha[i])

        Returns:
        α coefficients (s/radⁿ)
        See Also:
        S_PER_SC_N
      • setAlphaI

        public void setAlphaI​(int i,
                              double alphaI)
        Set one α coefficient.

        Beware Orekit uses SI units here. In order to use the more traditional s/semi-circleⁿ, use setAlphaI(i, IonosphereKlobucharMessage.S_PER_SC_N[i].toSi(alpha[i]))

        Parameters:
        i - index of the coefficient
        alphaI - α coefficient to set (s/radⁿ)
        See Also:
        S_PER_SC_N
      • getBeta

        public double[] getBeta()
        Get the β coefficients.

        Beware Orekit uses SI units here. In order to retrieve the more traditional s/semi-circleⁿ, use IonosphereKlobucharMessage.S_PER_SC_N[i].fromSI(beta[i])

        Returns:
        β coefficients (s/radⁿ)
        See Also:
        S_PER_SC_N
      • setBetaI

        public void setBetaI​(int i,
                             double betaI)
        Set one β coefficient.

        Beware Orekit uses SI units here. In order to use the more traditional s/semi-circleⁿ, use setBetaI(i, IonosphereKlobucharMessage.S_PER_SC_N[i].toSi(beta[i]))

        Parameters:
        i - index of the coefficient
        betaI - β coefficient to set (s/radⁿ)
        See Also:
        S_PER_SC_N
      • getRegionCode

        public RegionCode getRegionCode()
        Get the region code.
        Returns:
        region code
      • setRegionCode

        public void setRegionCode​(RegionCode regionCode)
        Set the region code.
        Parameters:
        regionCode - region code