Package org.orekit.files.ilrs
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCRD.AnglesMeasurementPointing angles record.static classCRD.CalibrationCalibration Record.static classCRD.CalibrationDetailCalibration Detail Record.static classCRD.CRDDataBlockData block containing a set of data contain in the CRD file.static classCRD.FrRangeMeasurementRange record -- Full rate, Sampled Engineering/Quicklook.static classCRD.MeteoMeteorological data.static classCRD.MeteorologicalMeasurementThis data record contains a minimal set of meteorological data.static classCRD.NptRangeMeasurementRange record -- Normal Point.static classCRD.RangeMeasurementRange record.static classCRD.RangeSupplementRange Supplement Record.static classCRD.SessionStatisticsSession (Pass) Statistics Record.
-
Field Summary
Fields Modifier and Type Field Description static PatternPATTERN_NANPattern of "NaN".static StringSTR_NANString of "NaN".static StringSTR_VALUE_NOT_AVAILABLEValue of 'not available' or 'not applicable' or 'no information'.
-
Constructor Summary
Constructors Constructor Description CRD()Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDataBlock(CRD.CRDDataBlock dataBlock)Add a data block to the current list of data blocks.static StringformatIntegerOrNaN(int value, int valueNotAvailable)Format the integer value as a string, or the stringVALUE_NOT_AVAILABLE.List<String>getComments()Get the comments contained in the file.List<CRD.CRDDataBlock>getDataBlocks()Get the data blocks contain in the file.static StringhandleNaN(String crdString)Replace all " NaN" with " na".
-
-
-
Field Detail
-
STR_VALUE_NOT_AVAILABLE
public static final String STR_VALUE_NOT_AVAILABLE
Value of 'not available' or 'not applicable' or 'no information'.- See Also:
- Constant Field Values
-
STR_NAN
public static final String STR_NAN
String of "NaN".- See Also:
- Constant Field Values
-
PATTERN_NAN
public static final Pattern PATTERN_NAN
Pattern of "NaN".
-
-
Method Detail
-
formatIntegerOrNaN
public static String formatIntegerOrNaN(int value, int valueNotAvailable)
Format the integer value as a string, or the stringVALUE_NOT_AVAILABLE.- Parameters:
value- the valuevalueNotAvailable- 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
-
-