Package org.orekit.files.ilrs
Class CRDParser
- java.lang.Object
-
- org.orekit.files.ilrs.CRDParser
-
public class CRDParser extends Object
A parser for the CRD data file format.It supports both 1.0 and 2.0 versions
Note: Not all the records are read by the parser. Only the most significants are parsed. Contributions are welcome to support more fields in the format.
- Since:
- 10.3
- Author:
- Bryan Cazabonne, Rongwang Li
- See Also:
- 1.0 file format, 2.0 file format
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CRD_SUPPORTED_NAMES
Default supported files name pattern for CRD files.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeScale
getTimeScale()
Get the time scale used to read the file.CRD
parse(DataSource source)
Parse a CRD file.
-
-
-
Field Detail
-
DEFAULT_CRD_SUPPORTED_NAMES
public static final String DEFAULT_CRD_SUPPORTED_NAMES
Default supported files name pattern for CRD files.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CRDParser
@DefaultDataContext public CRDParser()
Default constructor.This constructor uses the
default data context
.
-
CRDParser
public CRDParser(TimeScale utc)
Constructor.- Parameters:
utc
- utc time scale to read epochs
-
-
Method Detail
-
getTimeScale
public TimeScale getTimeScale()
Get the time scale used to read the file.- Returns:
- the time scale used to read the file
-
parse
public CRD parse(DataSource source) throws IOException
Parse a CRD file.- Parameters:
source
- data source containing the CRD file.- Returns:
- a parsed CRD file.
- Throws:
IOException
- ifreader
throws one.
-
-