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
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
ConstructorsConstructorDescriptionIonosphereKlobucharMessage(SatelliteSystem system, int prn, String navigationMessageType, String subType) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]getAlpha()Get the α coefficients.double[]getBeta()Get the β coefficients.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, setTransmitTimeMethods inherited from class org.orekit.files.rinex.navigation.TypeSvMessage
getIdentifier, getNavigationMessageSubType, getNavigationMessageType, getPrn, getSystemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
Constructor Details
-
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 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 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
Get the region code.- Returns:
- region code
-