![]() |
Earth Observation Software Orbit and Attitude Adapater Tool |
![]() |
Class with the DFDL4S Parser. More...
Public Member Functions | |
void | parse (String dataFile) throws EoAdapterError |
Read the input file and parse the orbit and attitude data to an attitude file object. More... | |
void | parse (byte[] dataArr) throws EoAdapterError |
parse the input data arrat into orbit and attitude data More... | |
void | parseDfdl4sDoc (Document document) throws EoAdapterError |
parse the input DFDL4S Document . More... | |
![]() | |
AdpParserConfiguration | getParserConfiguration () |
Get the parser configuration. More... | |
void | setParserConfiguration (AdpParserConfiguration inParserConfiguration) |
Set the configuration for the parser. More... | |
abstract void | parse (String dataFile) throws EoAdapterError |
Parse the data file filling the OrbitData and Attitude data objects. More... | |
abstract void | parse (byte[] dataArr) throws EoAdapterError |
Parse the byte array filling the OrbitData and Attitude data objects. More... | |
long | getNofItems () |
Get the the number of items in the data file. More... | |
long | getNofProcessedItems () |
Get the number of processed items from the data file. More... | |
OrbitFile | getOrbitData () |
Get the OrbitFile object containing the parsed orbit data. More... | |
AttFile | getAttitudeData () |
Get the AttitudeFile object containing the parsed attitude data. More... | |
void | disableOrbitParser () |
disable the orbit parser More... | |
void | enableOrbitParser () |
Enable the orbit parser. More... | |
void | disableAttitudeParser () |
disable the attitude parser More... | |
void | enableAttitudeParser () |
Enable the attitude parser. More... | |
Protected Member Functions | |
AdpDfdl4sParser () throws EoAdapterError | |
Class constructor. More... | |
![]() | |
void | setMainConfiguration (AdpMainConfiguration inMainConfiguration) |
Set the main configuration (as it could be needed by the parser). More... | |
Class with the DFDL4S Parser.
|
protected |
Class constructor.
References EoOrbAttAdapter.EoAdapterError.addCfiErrors(), EoOrbAttAdapter.EoAdapterError.addError(), EoOrbAttAdapter.AdpDfdl4sParserConfiguration.attitudeMappingType, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.attTime, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.attTimeRef, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.defQuality, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvOrbitNumPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvQualityPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvRefFrame, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvTimePath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvTimeRef, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvXposCorr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvXposPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvXvelCorr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvXvelPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvYposCorr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvYposPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvYvelCorr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvYvelPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvZposCorr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvZposPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvZvelCorr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvZvelPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.pitchCorr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.pitchPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q1Corr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q1Path, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q2Corr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q2Path, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q3Corr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q3Path, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q4Corr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q4Path, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.rollCorr, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.rollPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.yawCorr, and EoOrbAttAdapter.AdpDfdl4sParserConfiguration.yawPath.
void EoOrbAttAdapter.AdpDfdl4sParser.parse | ( | String | dataFile | ) | throws EoAdapterError |
Read the input file and parse the orbit and attitude data to an attitude file object.
dataFile | data file to be read |
EoAdapterError | if file cannot be parsed |
Implements EoOrbAttAdapter.AdpParser.
References EoOrbAttAdapter.EoAdapterError.addError(), EoOrbAttAdapter.AdpMainConfiguration.getTimeCorrelations(), EoOrbAttAdapter.AdpDfdl4sParser.parseDfdl4sDoc(), and EoOrbAttAdapter.AdpDfdl4sParserConfiguration.schemaFilename.
void EoOrbAttAdapter.AdpDfdl4sParser.parse | ( | byte [] | dataArr | ) | throws EoAdapterError |
parse the input data arrat into orbit and attitude data
dataArr | data arry to be parsed |
EoAdapterError | if dataArr cannot be parsed |
Implements EoOrbAttAdapter.AdpParser.
References EoOrbAttAdapter.EoAdapterError.addError(), EoOrbAttAdapter.AdpMainConfiguration.getTimeCorrelations(), EoOrbAttAdapter.AdpDfdl4sParser.parseDfdl4sDoc(), and EoOrbAttAdapter.AdpDfdl4sParserConfiguration.schemaFilename.
void EoOrbAttAdapter.AdpDfdl4sParser.parseDfdl4sDoc | ( | Document | document | ) | throws EoAdapterError |
parse the input DFDL4S Document .
document | input data |
EoAdapterError | if document cannot be parsed |
References EoOrbAttAdapter.EoAdapterError.addCfiErrors(), EoOrbAttAdapter.EoAdapterError.addError(), EoOrbAttAdapter.AdpDfdl4sParserConfiguration.attitudeMappingType, EoOrbAttAdapter.AdpOutputConfiguration.attitudeOutputConfig, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.attRefFrame, EoOrbAttAdapter.AdpOutputConfiguration.commonOutputConfig, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.defOsfName, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.doInversion, EoOrbAttAdapter.AdpMainConfiguration.getOutputConfiguration(), EoOrbAttAdapter.AdpCommonOutputConfiguration.missionId, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvOrbitNumPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.osvTimeRef, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.pitchPath, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.q1Path, EoOrbAttAdapter.AdpAttitudeOutputConfiguration.targetFrame, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.xAxisMap, EoOrbAttAdapter.AdpDfdl4sParserConfiguration.yAxisMap, and EoOrbAttAdapter.AdpDfdl4sParserConfiguration.zAxisMap.
Referenced by EoOrbAttAdapter.AdpDfdl4sParser.parse().