Package org.orekit.files.ilrs
Class CPFParser
java.lang.Object
org.orekit.files.ilrs.CPFParser
- All Implemented Interfaces:
EphemerisFileParser<CPF>
A parser for the CPF orbit file format.
It supports both 1.0 and 2.0 versions
Note: Only required header keys are read. Furthermore, only position data are read. Other keys are simply ignored Contributions are welcome to support more fields in the format.
- Since:
- 10.3
- Author:
- Bryan Cazabonne
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault number of sample for interpolating data (See: reference documents). -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CPFParser(double mu, int interpolationSamples, IERSConventions iersConventions, TimeScale utc, Frames frames) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionparse(DataSource source) Parse an ephemeris file from a data source.
-
Field Details
-
DEFAULT_INTERPOLATION_SAMPLE
public static final int DEFAULT_INTERPOLATION_SAMPLEDefault number of sample for interpolating data (See: reference documents).- See Also:
-
-
Constructor Details
-
CPFParser
Default constructor.This constructor uses the
default data context. -
CPFParser
public CPFParser(double mu, int interpolationSamples, IERSConventions iersConventions, TimeScale utc, Frames frames) Constructor.- Parameters:
mu- standard gravitational parameter to use for creatingOrbitsfrom the ephemeris data.interpolationSamples- number of samples to use when interpolatingiersConventions- IERS convention for frames definitionutc- time scale used to define epochs in CPF files (UTC)frames- set of frames for satellite coordinates
-
-
Method Details
-
parse
Parse an ephemeris file from a data source.- Specified by:
parsein interfaceEphemerisFileParser<CPF>- Parameters:
source- source providing the data to parse- Returns:
- a parsed ephemeris file.
-