Enum Class IgsSsrMessageType

java.lang.Object
java.lang.Enum<IgsSsrMessageType>
org.orekit.gnss.metric.parser.IgsSsrMessageType
All Implemented Interfaces:
Serializable, Comparable<IgsSsrMessageType>, Constable, 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 Details

  • Method Details

    • values

      public static IgsSsrMessageType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IgsSsrMessageType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - 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 message
      id - the parsed satellite ID
      Returns:
      the real satellite ID