Class IonosphereKlobucharMessage

All Implemented Interfaces:
NavigationMessage, TimeStamped

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

    • IonosphereKlobucharMessage

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

    • 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ⁿ)
    • 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ⁿ)
    • 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ⁿ)
    • 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ⁿ)
    • 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