Package org.orekit.gnss.metric.parser
Enum IgsSsrMessageType
- java.lang.Object
-
- java.lang.Enum<IgsSsrMessageType>
-
- org.orekit.gnss.metric.parser.IgsSsrMessageType
-
- All Implemented Interfaces:
Serializable
,Comparable<IgsSsrMessageType>
,MessageType
public enum IgsSsrMessageType extends Enum<IgsSsrMessageType> implements MessageType
Enum containing the supported IGS SSR messages types.- Since:
- 11.0
- Author:
- Luc Maisonobe, Bryan Cazabonne
- See Also:
- "IGS State Space Representation (SSR) Format, Version 1.00, October 2020."
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IGM_01
SSR Orbit Correction.IGM_02
SSR Clock Correction.IGM_03
SSR Combined Orbit and Clock Correction.IGM_04
SSR High Rate Clock Correction.IGM_05
SSR Code Bias.IGM_06
SSR Phase Bias.IGM_07
SSR URA.IM_201
SSR Ionosphere VTEC Spherical Harmonics Message.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IgsSsrMessageType
getMessageType(String number)
Get the message type corresponding to a message number.Pattern
getPattern()
Get the message number.static int
getSatelliteId(SatelliteSystem system, int id)
Transform the satellite ID parsed from the IGS SSR message to the real ID.static SatelliteSystem
messageNumberToSatelliteSystem(int subTypeMessage)
Find the satellite system corresponding to the sub-type message number.static IgsSsrMessageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IgsSsrMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.orekit.gnss.metric.parser.MessageType
parse
-
-
-
-
Enum Constant Detail
-
IGM_01
public static final IgsSsrMessageType IGM_01
SSR Orbit Correction.
-
IGM_02
public static final IgsSsrMessageType IGM_02
SSR Clock Correction.
-
IGM_03
public static final IgsSsrMessageType IGM_03
SSR Combined Orbit and Clock Correction.
-
IGM_04
public static final IgsSsrMessageType IGM_04
SSR High Rate Clock Correction.
-
IGM_05
public static final IgsSsrMessageType IGM_05
SSR Code Bias.
-
IGM_06
public static final IgsSsrMessageType IGM_06
SSR Phase Bias.
-
IGM_07
public static final IgsSsrMessageType IGM_07
SSR URA.
-
IM_201
public static final IgsSsrMessageType IM_201
SSR Ionosphere VTEC Spherical Harmonics Message.
-
-
Method Detail
-
values
public static IgsSsrMessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IgsSsrMessageType c : IgsSsrMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IgsSsrMessageType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPattern
public Pattern getPattern()
Get the message number.- Returns:
- message number
-
getMessageType
public static IgsSsrMessageType getMessageType(String number)
Get the message type corresponding to a message number.- Parameters:
number
- message number- Returns:
- the message type corresponding to the message number
-
messageNumberToSatelliteSystem
public static SatelliteSystem messageNumberToSatelliteSystem(int subTypeMessage)
Find the satellite system corresponding to the sub-type message number.See Table 5 of reference
- Parameters:
subTypeMessage
- message umber- Returns:
- the corresponding satellite system
-
getSatelliteId
public static int getSatelliteId(SatelliteSystem system, int id)
Transform the satellite ID parsed from the IGS SSR message to the real ID.- Parameters:
system
- the satellite system of the parsed messageid
- the parsed satellite ID- Returns:
- the real satellite ID
-
-