public class CPFParser extends Object implements EphemerisFileParser<CPF>
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.
| Constructor and Description |
|---|
CPFParser()
Default constructor.
|
CPFParser(double mu,
int interpolationSamples,
IERSConventions iersConventions,
TimeScale utc,
Frames frames)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CPF |
parse(DataSource source)
Parse an ephemeris file from a data source.
|
@DefaultDataContext public CPFParser()
This constructor uses the default data context.
public CPFParser(double mu,
int interpolationSamples,
IERSConventions iersConventions,
TimeScale utc,
Frames frames)
mu - standard gravitational parameter to use for
creating Orbits 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 coordinatespublic CPF parse(DataSource source)
parse in interface EphemerisFileParser<CPF>source - source providing the data to parseCopyright © 2002-2022 CS GROUP. All rights reserved.