DEIMOS
Earth Observation Software
Orbit and Attitude Adapater Tool
ESA
Public Member Functions | Protected Member Functions | List of all members
EoOrbAttAdapter.AdpDfdl4sParser Class Reference

Class with the DFDL4S Parser. More...

Inheritance diagram for EoOrbAttAdapter.AdpDfdl4sParser:
EoOrbAttAdapter.AdpDefaultParser EoOrbAttAdapter.AdpParser

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...
 
- Public Member Functions inherited from EoOrbAttAdapter.AdpDefaultParser
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...
 
- Protected Member Functions inherited from EoOrbAttAdapter.AdpDefaultParser
void setMainConfiguration (AdpMainConfiguration inMainConfiguration)
 Set the main configuration (as it could be needed by the parser). More...
 

Detailed Description

Class with the DFDL4S Parser.

Constructor & Destructor Documentation

◆ AdpDfdl4sParser()

EoOrbAttAdapter.AdpDfdl4sParser.AdpDfdl4sParser ( ) throws EoAdapterError
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.

Member Function Documentation

◆ parse() [1/2]

void EoOrbAttAdapter.AdpDfdl4sParser.parse ( String  dataFile) throws EoAdapterError

Read the input file and parse the orbit and attitude data to an attitude file object.

Parameters
dataFiledata file to be read
Exceptions
EoAdapterErrorif file cannot be parsed

Implements EoOrbAttAdapter.AdpParser.

References EoOrbAttAdapter.EoAdapterError.addError(), EoOrbAttAdapter.AdpMainConfiguration.getTimeCorrelations(), EoOrbAttAdapter.AdpDfdl4sParser.parseDfdl4sDoc(), and EoOrbAttAdapter.AdpDfdl4sParserConfiguration.schemaFilename.

◆ parse() [2/2]

void EoOrbAttAdapter.AdpDfdl4sParser.parse ( byte []  dataArr) throws EoAdapterError

parse the input data arrat into orbit and attitude data

Parameters
dataArrdata arry to be parsed
Exceptions
EoAdapterErrorif dataArr cannot be parsed

Implements EoOrbAttAdapter.AdpParser.

References EoOrbAttAdapter.EoAdapterError.addError(), EoOrbAttAdapter.AdpMainConfiguration.getTimeCorrelations(), EoOrbAttAdapter.AdpDfdl4sParser.parseDfdl4sDoc(), and EoOrbAttAdapter.AdpDfdl4sParserConfiguration.schemaFilename.

◆ parseDfdl4sDoc()

void EoOrbAttAdapter.AdpDfdl4sParser.parseDfdl4sDoc ( Document  document) throws EoAdapterError

Generated on Tue Dec 1 2020 11:44:33 for by doxygen 1.8.13