java.lang.Object
org.orekit.files.rinex.navigation.parsers.ParseInfo

public class ParseInfo extends Object
Container for parsing data.
Since:
14.0
Author:
Bryan Cazabonne, Luc Maisonobe
  • Constructor Details

    • ParseInfo

      public ParseInfo(String name, TimeScales timeScales)
      Constructor, build the ParseInfo object.
      Parameters:
      name - name of the data source
      timeScales - set of time scales for parsing dates
  • Method Details

    • parseDate

      public AbsoluteDate parseDate(SatelliteSystem system)
      Parse a date.
      Parameters:
      system - satellite system
      Returns:
      parsed date
      Since:
      14.0
    • parseDate

      public AbsoluteDate parseDate(TimeScale timeScale)
      Parse a date.
      Parameters:
      timeScale - time scale
      Returns:
      parsed date
      Since:
      14.0
    • parseDouble1

      public double parseDouble1(Unit unit)
      Parse field 1 of a message line.
      Parameters:
      unit - unit to apply
      Returns:
      parsed field
      Since:
      14.0
    • parseInt1

      public int parseInt1()
      Parse field 1 of a message line.
      Returns:
      parsed field
      Since:
      14.0
    • parseDouble2

      public double parseDouble2(Unit unit)
      Parse field 2 of a message line.
      Parameters:
      unit - unit to apply
      Returns:
      parsed field
      Since:
      14.0
    • parseInt2

      public int parseInt2()
      Parse field 2 of a message line.
      Returns:
      parsed field
      Since:
      14.0
    • parseDouble3

      public double parseDouble3(Unit unit)
      Parse field 3 of a message line.
      Parameters:
      unit - unit to apply
      Returns:
      parsed field
      Since:
      14.0
    • parseInt3

      public int parseInt3()
      Parse field 3 of a message line.
      Returns:
      parsed field
      Since:
      14.0
    • parseDouble4

      public double parseDouble4(Unit unit)
      Parse field 4 of a message line.
      Parameters:
      unit - unit to apply
      Returns:
      parsed field
      Since:
      14.0
    • parseInt4

      public int parseInt4()
      Parse field 4 of a message line.
      Returns:
      parsed field
      Since:
      14.0
    • parseComment

      public void parseComment()
      Parse a comment.
    • closePendingRecord

      public void closePendingRecord()
      Ensure navigation record has been closed.
    • getName

      public String getName()
      Get the file name.
      Returns:
      file name
    • getTimeScales

      public TimeScales getTimeScales()
      Get the time scales.
      Returns:
      time scales
    • getCompletedFile

      public RinexNavigation getCompletedFile()
      Get the completed file.
      Returns:
      completed file
    • getHeader

      public RinexNavigationHeader getHeader()
      Get the navigation file header.
      Returns:
      navigation file header
    • setHeaderParsed

      public void setHeaderParsed(boolean headerParsed)
      Set the header parsing indicator.
      Parameters:
      headerParsed - if true, header has been parsed
    • setInitialSpaces

      public void setInitialSpaces(int initialSpaces)
      Set the number of initial spaces in messages lines.
      Parameters:
      initialSpaces - number of initial spaces in messages lines
    • getLine

      public String getLine()
      Get the current line.
      Returns:
      current line
    • setLine

      public void setLine(String line)
      set the current line.
      Parameters:
      line - current line
    • getLineNumber

      public int getLineNumber()
      Get the line number.
      Returns:
      line number
    • getRecordLineNumber

      public int getRecordLineNumber()
      Get the line number within the navigation record.
      Returns:
      line number within the navigation record
    • setRecordLineParser

      public void setRecordLineParser(RecordType recordType)
      Set the record line parser.
      Parameters:
      recordType - retord type
    • setRecordLineParser

      public void setRecordLineParser(RecordType recordType, SatelliteSystem system, int prn, String messageType, String subType)
      Set the record line parser.
      Parameters:
      recordType - retord type
      system - satellite system
      prn - satellite number
      messageType - message type
      subType - subtype
    • getRecordLineParser

      public RecordLineParser getRecordLineParser()
      Get the message line parser.
      Returns:
      message line parser
    • parseRecordLine

      public void parseRecordLine()
      Parse next record line.
    • setIonosphericCorrectionType

      public void setIonosphericCorrectionType(IonosphericCorrectionType ionosphericCorrectionType)
      Set the ionospheric correction type.
      Parameters:
      ionosphericCorrectionType - ionospheric correction type
      Since:
      14.0
    • setTimeMark

      public void setTimeMark(char timeMark)
      Set the ionospheric correction time mark.
      Parameters:
      timeMark - ionospheric correction time mark
      Since:
      14.0
    • setKlobucharAlpha

      public void setKlobucharAlpha(double[] klobucharAlpha)
      Set the α ionospheric parameters.
      Parameters:
      klobucharAlpha - the α ionospheric parameters to set
    • setKlobucharBeta

      public void setKlobucharBeta(double[] klobucharBeta)
      Set the β ionospheric parameters.
      Parameters:
      klobucharBeta - the β ionospheric parameters to set
    • setNeQuickAlpha

      public void setNeQuickAlpha(double[] neQuickAlpha)
      Set the α ionospheric parameters.
      Parameters:
      neQuickAlpha - the α ionospheric parameters to set