Class CRD

java.lang.Object
org.orekit.files.ilrs.CRD

public class CRD extends Object
This class stores all the information of the Consolidated laser ranging Data Format (CRD) parsed by CRDParser. It contains the header and a list of data records.
Since:
10.3
Author:
Bryan Cazabonne, Rongwang Li
  • Field Details

    • STR_VALUE_NOT_AVAILABLE

      public static final String STR_VALUE_NOT_AVAILABLE
      Value of 'not available' or 'not applicable' or 'no information'.
      See Also:
    • STR_NAN

      public static final String STR_NAN
      String of "NaN".
      See Also:
    • PATTERN_NAN

      public static final Pattern PATTERN_NAN
      Pattern of "NaN".
  • Constructor Details

    • CRD

      public CRD()
      Constructor.
  • Method Details

    • formatIntegerOrNaN

      public static String formatIntegerOrNaN(int value, int valueNotAvailable)
      Format the integer value as a string, or the string VALUE_NOT_AVAILABLE.
      Parameters:
      value - the value
      valueNotAvailable - the value means not available
      Returns:
      a string
      Since:
      12.0
    • handleNaN

      public static String handleNaN(String crdString)
      Replace all " NaN" with " na".
      Parameters:
      crdString - the original string
      Returns:
      the string
      Since:
      12.0
    • addDataBlock

      public void addDataBlock(CRD.CRDDataBlock dataBlock)
      Add a data block to the current list of data blocks.
      Parameters:
      dataBlock - data block to add
    • getComments

      public List<String> getComments()
      Get the comments contained in the file.
      Returns:
      the comments contained in the file
    • getDataBlocks

      public List<CRD.CRDDataBlock> getDataBlocks()
      Get the data blocks contain in the file.
      Returns:
      the data blocks contain in the file