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 class
CRD.AnglesMeasurement
Pointing angles record.static class
CRD.Calibration
Calibration Record.static class
CRD.CalibrationDetail
Calibration Detail Record.static class
CRD.CRDDataBlock
Data block containing a set of data contain in the CRD file.static class
CRD.FrRangeMeasurement
Range record -- Full rate, Sampled Engineering/Quicklook.static class
CRD.Meteo
Meteorological data.static class
CRD.MeteorologicalMeasurement
This data record contains a minimal set of meteorological data.static class
CRD.NptRangeMeasurement
Range record -- Normal Point.static class
CRD.RangeMeasurement
Range record.static class
CRD.RangeSupplement
Range Supplement Record.static class
CRD.SessionStatistics
Session (Pass) Statistics Record.
-
Field Summary
Fields Modifier and Type Field Description static Pattern
PATTERN_NAN
Pattern of "NaN".static String
STR_NAN
String of "NaN".static String
STR_VALUE_NOT_AVAILABLE
Value 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 void
addDataBlock(CRD.CRDDataBlock dataBlock)
Add a data block to the current list of data blocks.static String
formatIntegerOrNaN(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 String
handleNaN(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
-
-