Class RecordLineParser

java.lang.Object
org.orekit.files.rinex.navigation.parsers.RecordLineParser
Direct Known Subclasses:
AbstractEphemerisParser, AbstractNavigationParser, BdgimParser, CivilianLevel1NavigationParser, EarthOrientationParameterParser, GlonassCdmaParser, GlonassCdmsGParser, KlobucharParser, NavICKlobucharParser, NavICNeQuickNParser, NeQuickGParser, SystemTimeOffsetParser

public abstract class RecordLineParser extends Object
Base class for record parsers.
Author:
Bryan Cazabonne, Luc Maisonobe
  • Constructor Details

    • RecordLineParser

      protected RecordLineParser()
      Simple constructor.
  • Method Details

    • parseSvEpochSvClockLineRinex2

      protected void parseSvEpochSvClockLineRinex2(String line, TimeScale timeScale, AbstractNavigationMessageFactory<?> factory)
      Parse the SV/Epoch/Sv clock of the navigation message.
      Parameters:
      line - line to read
      timeScale - time scale to use
      factory - message factory
    • parseSvEpochSvClockLine

      protected void parseSvEpochSvClockLine(TimeScale timeScale, ParseInfo parseInfo, AbstractNavigationMessageFactory<?> factory)
      Parse the SV/Epoch/Sv clock of the navigation message.
      Parameters:
      timeScale - time scale to use
      parseInfo - container for parsing info
      factory - message factory
    • parseLine00

      public abstract void parseLine00()
      Parse line 0 of the navigation record.
    • parseLine01

      public void parseLine01()
      Parse line 1 of the navigation record.
    • parseLine02

      public void parseLine02()
      Parse line 2 of the navigation record.
    • parseLine03

      public void parseLine03()
      Parse line 3 of the navigation record.
    • parseLine04

      public void parseLine04()
      Parse line 4 of the navigation record.
    • parseLine05

      public void parseLine05()
      Parse line 5 of the navigation record.
    • parseLine06

      public void parseLine06()
      Parse line 6 of the navigation record.
    • parseLine07

      public void parseLine07()
      Parse line 7 of the navigation record.
    • parseLine08

      public void parseLine08()
      Parse line 8 of the navigation record.
    • parseLine09

      public void parseLine09()
      Parse line 9 of the navigation record.
    • closeRecord

      public abstract void closeRecord(RinexNavigation file)
      Close a record as the last line was parsed.
      Parameters:
      file - navigation file where to put the completed record
    • fmod

      protected static double fmod(double a, double b)
      Calculates the floating-point remainder of a / b.

      fmod = a - x * b where x = (int) a / b

      Parameters:
      a - numerator
      b - denominator
      Returns:
      the floating-point remainder of a / b