Class RinexNavigationWriter

java.lang.Object
org.orekit.files.rinex.utils.BaseRinexWriter<RinexNavigationHeader>
org.orekit.files.rinex.navigation.RinexNavigationWriter
All Implemented Interfaces:
AutoCloseable

public class RinexNavigationWriter extends BaseRinexWriter<RinexNavigationHeader>
Writer for Rinex navigation file.
Since:
14.0
Author:
Luc Maisonobe
  • Constructor Details

  • Method Details

    • getTimeScales

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

      public void writeCompleteFile(RinexNavigation rinexNavigation) throws IOException
      Write a complete navigation file.
      Parameters:
      rinexNavigation - Rinex navigation file to write
      Throws:
      IOException - if an I/O error occurs.
    • writeHeader

      public void writeHeader(RinexNavigationHeader header) throws IOException
      Write header.

      This method must be called exactly once at the beginning (directly or by writeCompleteFile(RinexNavigation))

      Parameters:
      header - header to write
      Throws:
      IOException - if an I/O error occurs.
    • writeDate

      public void writeDate(AbsoluteDate date, SatelliteSystem system) throws IOException
      Write a date.
      Parameters:
      date - date to write
      system - satellite system
      Throws:
      IOException - if an I/O error occurs.
    • writeDate

      public void writeDate(DateTimeComponents dtc) throws IOException
      Write a date.

      The date will span over 23 characters.

      Parameters:
      dtc - date to write
      Throws:
      IOException - if an I/O error occurs.
    • writeDouble

      public void writeDouble(double value, Unit unit) throws IOException
      Write a double field.

      The field will span over 19 characters.

      Parameters:
      value - field value to write, in SI units
      unit - unit to use
      Throws:
      IOException - if an I/O error occurs.
    • writeInt

      public void writeInt(int value) throws IOException
      Write an integer field.

      The field will span over 19 characters.

      Parameters:
      value - field value to write, in SI units
      Throws:
      IOException - if an I/O error occurs.
    • writeEmpty

      public void writeEmpty() throws IOException
      Write an empty field.

      The field will span over 19 characters.

      Throws:
      IOException - if an I/O error occurs.
    • indentLine

      public void indentLine(RinexNavigationHeader header) throws IOException
      Start (indent) a new line.
      Parameters:
      header - header
      Throws:
      IOException - if an I/O error occurs.