Class IonosphereKlobucharMessage
- java.lang.Object
-
- org.orekit.files.rinex.navigation.TypeSvMessage
-
- org.orekit.files.rinex.navigation.IonosphereBaseMessage
-
- org.orekit.files.rinex.navigation.IonosphereKlobucharMessage
-
public class IonosphereKlobucharMessage extends IonosphereBaseMessage
Container for data contained in a ionosphere Klobuchar message.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description IonosphereKlobucharMessage(SatelliteSystem system, int prn, String navigationMessageType)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getAlpha()
Get the α coefficients.double[]
getBeta()
Get the β coefficients.RegionCode
getRegionCode()
Get the region code.void
setAlphaI(int i, double alphaI)
Set one α coefficient.void
setBetaI(int i, double betaI)
Set one β coefficient.void
setRegionCode(RegionCode regionCode)
Set the region code.-
Methods inherited from class org.orekit.files.rinex.navigation.IonosphereBaseMessage
getTransmitTime, setTransmitTime
-
Methods inherited from class org.orekit.files.rinex.navigation.TypeSvMessage
getNavigationMessageType, getPrn, getSystem
-
-
-
-
Constructor Detail
-
IonosphereKlobucharMessage
public IonosphereKlobucharMessage(SatelliteSystem system, int prn, String navigationMessageType)
Simple constructor.- Parameters:
system
- satellite systemprn
- satellite numbernavigationMessageType
- 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 coefficientalphaI
- α 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 coefficientbetaI
- β 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
-
-