Class IonosphereKlobucharMessage
- java.lang.Object
-
- org.orekit.files.rinex.navigation.TypeSvMessage
-
- org.orekit.files.rinex.navigation.IonosphereBaseMessage
-
- org.orekit.files.rinex.navigation.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
-
-
Field Summary
-
Fields inherited from class org.orekit.files.rinex.navigation.IonosphereBaseMessage
S_PER_SC_N0, S_PER_SC_N1, S_PER_SC_N2, S_PER_SC_N3, SC
-
-
Constructor Summary
Constructors Constructor Description IonosphereKlobucharMessage(SatelliteSystem system, int prn, String navigationMessageType, String subType)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.RegionCodegetRegionCode()Get the region code.voidsetAlphaI(int i, double alphaI)Set one α coefficient.voidsetBetaI(int i, double betaI)Set one β coefficient.voidsetRegionCode(RegionCode regionCode)Set the region code.-
Methods inherited from class org.orekit.files.rinex.navigation.IonosphereBaseMessage
getDate, getTransmitTime, setTransmitTime
-
Methods inherited from class org.orekit.files.rinex.navigation.TypeSvMessage
getIdentifier, getNavigationMessageSubType, getNavigationMessageType, getPrn, getSystem
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
IonosphereKlobucharMessage
public IonosphereKlobucharMessage(SatelliteSystem system, int prn, String navigationMessageType, String subType)
Simple constructor.- Parameters:
system- satellite systemprn- satellite numbernavigationMessageType- navigation message typesubType- message subtype
-
-
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ⁿ)
-
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ⁿ)
-
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 coefficientbetaI- β 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
-
-