Package org.orekit.files.ilrs
Class CPFParser
- java.lang.Object
-
- org.orekit.files.ilrs.CPFParser
-
- All Implemented Interfaces:
EphemerisFileParser<CPF>
public class CPFParser extends Object implements 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:
- 1.0 file format, 2.0 file format
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_INTERPOLATION_SAMPLE
Default number of sample for interpolating data (See: reference documents).
-
Constructor Summary
Constructors Constructor Description CPFParser()
Default constructor.CPFParser(double mu, int interpolationSamples, IERSConventions iersConventions, TimeScale utc, Frames frames)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPF
parse(DataSource source)
Parse an ephemeris file from a data source.
-
-
-
Field Detail
-
DEFAULT_INTERPOLATION_SAMPLE
public static final int DEFAULT_INTERPOLATION_SAMPLE
Default number of sample for interpolating data (See: reference documents).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CPFParser
@DefaultDataContext public 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 creatingOrbits
from 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 Detail
-
parse
public CPF parse(DataSource source)
Parse an ephemeris file from a data source.- Specified by:
parse
in interfaceEphemerisFileParser<CPF>
- Parameters:
source
- source providing the data to parse- Returns:
- a parsed ephemeris file.
-
-