IonosphereNequickGMessage.java

  1. /* Copyright 2022-2025 Luc Maisonobe
  2.  * Licensed to CS GROUP (CS) under one or more
  3.  * contributor license agreements.  See the NOTICE file distributed with
  4.  * this work for additional information regarding copyright ownership.
  5.  * CS licenses this file to You under the Apache License, Version 2.0
  6.  * (the "License"); you may not use this file except in compliance with
  7.  * the License.  You may obtain a copy of the License at
  8.  *
  9.  *   http://www.apache.org/licenses/LICENSE-2.0
  10.  *
  11.  * Unless required by applicable law or agreed to in writing, software
  12.  * distributed under the License is distributed on an "AS IS" BASIS,
  13.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.  * See the License for the specific language governing permissions and
  15.  * limitations under the License.
  16.  */
  17. package org.orekit.files.rinex.navigation;

  18. import org.orekit.gnss.SatelliteSystem;

  19. /** Container for data contained in a ionosphere Nequick G message.
  20.  * @author Luc Maisonobe
  21.  * @since 12.0
  22.  */
  23. public class IonosphereNequickGMessage extends IonosphereBaseMessage {

  24.     /** Aij. */
  25.     private final IonosphereAij aij;

  26.     /** Disturbance flags. */
  27.     private int flags;

  28.     /** Simple constructor.
  29.      * @param system satellite system
  30.      * @param prn satellite number
  31.      * @param navigationMessageType navigation message type
  32.      * @param subType message subtype
  33.      */
  34.     public IonosphereNequickGMessage(final SatelliteSystem system, final int prn,
  35.                                      final String navigationMessageType, final String subType) {
  36.         super(system, prn, navigationMessageType, subType);
  37.         this.aij = new IonosphereAij();
  38.     }

  39.     /** Get aᵢⱼ coefficients.
  40.      * @return aᵢⱼ coefficients
  41.      */
  42.     public IonosphereAij getAij() {
  43.         return aij;
  44.     }

  45.     /** Get the disturbance flags.
  46.      * @return disturbance flags
  47.      */
  48.     public int getFlags() {
  49.         return flags;
  50.     }

  51.     /** Set the disturbance flags.
  52.      * @param flags disturbance flags
  53.      */
  54.     public void setFlags(final int flags) {
  55.         this.flags = flags;
  56.     }

  57. }