public class SP3Parser extends Object implements EphemerisFileParser<SP3>
Note: this parser is thread-safe, so calling parse(org.orekit.data.DataSource)
from
different threads is allowed.
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_CLOCK_VALUE
Bad or absent clock values are to be set to 999999.999999.
|
Constructor and Description |
---|
SP3Parser()
Create an SP3 parser using default values.
|
SP3Parser(double mu,
int interpolationSamples,
Function<? super String,? extends Frame> frameBuilder)
Create an SP3 parser and specify the extra information needed to create a
Propagator from the ephemeris data. |
SP3Parser(double mu,
int interpolationSamples,
Function<? super String,? extends Frame> frameBuilder,
TimeScales timeScales)
Create an SP3 parser and specify the extra information needed to create a
Propagator from the ephemeris data. |
Modifier and Type | Method and Description |
---|---|
SP3 |
parse(DataSource source)
Parse an ephemeris file from a data source.
|
public static final double DEFAULT_CLOCK_VALUE
@DefaultDataContext public SP3Parser()
This constructor uses the default data context
.
SP3Parser(double, int, Function)
@DefaultDataContext public SP3Parser(double mu, int interpolationSamples, Function<? super String,? extends Frame> frameBuilder)
Propagator
from the ephemeris data.
This constructor uses the default data context
.
mu
- is the standard gravitational parameter to use for
creating Orbits
from
the ephemeris data. See Constants
.interpolationSamples
- is the number of samples to use when interpolating.frameBuilder
- is a function that can construct a frame from an SP3
coordinate system string. The coordinate system can be
any 5 character string e.g. ITR92, IGb08.SP3Parser(double, int, Function, TimeScales)
public SP3Parser(double mu, int interpolationSamples, Function<? super String,? extends Frame> frameBuilder, TimeScales timeScales)
Propagator
from the ephemeris data.mu
- is the standard gravitational parameter to use for
creating Orbits
from
the ephemeris data. See Constants
.interpolationSamples
- is the number of samples to use when interpolating.frameBuilder
- is a function that can construct a frame from an SP3
coordinate system string. The coordinate system can betimeScales
- the set of time scales used for parsing dates.public SP3 parse(DataSource source)
EphemerisFileParser
parse
in interface EphemerisFileParser<SP3>
source
- source providing the data to parseCopyright © 2002-2022 CS GROUP. All rights reserved.