Package org.orekit.files.iirv
Class IIRVParser
java.lang.Object
org.orekit.files.iirv.IIRVParser
- All Implemented Interfaces:
EphemerisFileParser<IIRVEphemerisFile>
Parser of
IIRVEphemerisFiles.- Since:
- 13.0
- Author:
- Nick LaFarge
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault number of sample for interpolating data (See: reference documents). -
Constructor Summary
ConstructorsConstructorDescriptionIIRVParser(double mu, int interpolationSamples, int year, UTCScale utc) Constructs aIIRVParserinstance.IIRVParser(int year, UTCScale utc) Constructs aIIRVParserinstance with default values. -
Method Summary
Modifier and TypeMethodDescriptionParses a string representing an IIRV message.Parses a list of strings that comprise anIIRVMessage.parse(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
-
IIRVParser
Constructs aIIRVParserinstance with default values.Default gravitational parameter is
Constants.IERS96_EARTH_MU. Default number of interpolation samples is 7.- Parameters:
year- year of the initial vector in the IIRV ephemeris file.utc- UTC time scale
-
IIRVParser
Constructs aIIRVParserinstance.- Parameters:
mu- gravitational parameter (m^3/s^2)interpolationSamples- is the number of samples to use when interpolating.year- year of the initial vector in the IIRV ephemeris file.utc- UTC time scale
-
-
Method Details
-
parse
Parse an ephemeris file from a data source.- Specified by:
parsein interfaceEphemerisFileParser<IIRVEphemerisFile>- Parameters:
source- source providing the data to parse- Returns:
- a parsed ephemeris file.
-
parse
Parses a string representing an IIRV message.- Parameters:
iirv- String representation of an IIRV message- Returns:
- newly created
IIRVSegmentobject populated with ephemeris data parsed fromiirvVectorStrings
-
parse
Parses a list of strings that comprise anIIRVMessage.- Parameters:
iirvVectorStrings- list of Strings that comprise anIIRVMessage- Returns:
- newly created
IIRVSegmentobject populated with ephemeris data parsed fromiirvVectorStrings
-