Earth Observation Mission CFI Software DataHandling Software User Manual |
Class for reading/writing DORIS navigator files. More...
Public Member Functions | |
DorisFile (const std::string &fileNam) | |
Empty constructor. | |
DorisFile (const std::string &fileNam, const DorisHeader &fhr, const std::vector< OsvRec > &osvRecEF, const std::vector< OsvRec > &osvRecJ, double leapTim, int leapSig, long absOrbi, long relOrbi) | |
Constructor with parameters. | |
~DorisFile () NOEXCEPT | |
Destructor. | |
void | read (const bool interpolFlag) |
Read the whole file (DORIS header is not read). | |
void | read (const bool interpolFlag, const double time0, const double time1) |
Read the file between 2 given times (DORIS header is not read). | |
void | readHeader () |
Read DORIS header. | |
void | write (const std::string &fileNam) const |
Write the file with the data in the object. | |
void | write (const std::string &fileNam, const DorisHeader &fhr, const std::vector< OsvRec > &osvRecEF, const std::vector< OsvRec > &osvRecJ, double leapTim, int leapSig, long absOrbi, long relOrbi) |
Write the file with all the parameters. | |
Public Attributes | |
long | fileType |
file type (XDDORISFileTypeEnum) (AN-524) | |
DorisHeader * | header |
DORIS header. | |
std::vector< OsvRec > | osvRec |
Vector of state vectors in EF. | |
std::vector< OsvRec > | osvRecJ2 |
Vector of state vectors in J2000. | |
double | leapTime |
Time for the leap second. | |
int | leapSign |
Sign of the leap second. | |
long | absOrbit |
First absolute orbit number. | |
long | relOrbit |
First relative orbit number. |
Class for reading/writing DORIS navigator files.
EECFI::DorisFile::DorisFile | ( | const std::string & | fileNam | ) | [explicit] |
Empty constructor.
EECFI::DorisFile::DorisFile | ( | const std::string & | fileNam, | |
const DorisHeader & | fhr, | |||
const std::vector< OsvRec > & | osvRecEF, | |||
const std::vector< OsvRec > & | osvRecJ, | |||
double | leapTim, | |||
int | leapSig, | |||
long | absOrbi, | |||
long | relOrbi | |||
) |
Constructor with parameters.
EECFI::DorisFile::~DorisFile | ( | ) |
Destructor.
References EECFI::EEFile::fixedHeader, header, osvRec, and osvRecJ2.
void EECFI::DorisFile::read | ( | const bool | interpolFlag | ) |
Read the whole file (DORIS header is not read).
interpolFlag | Flag to indicate if interpolation is used. |
References absOrbit, EECFI::EEFile::fileName, fileType, leapSign, leapTime, osvRec, osvRecJ2, relOrbit, and EECFI::CfiClass::throwWarn.
void EECFI::DorisFile::read | ( | const bool | interpolFlag, | |
const double | time0, | |||
const double | time1 | |||
) |
Read the file between 2 given times (DORIS header is not read).
interpolFlag | Flag to indicate if interpolation is used. | |
time0 | Start time for the requested time window. | |
time1 | Stop time for the requested time window. |
References absOrbit, EECFI::EEFile::fileName, fileType, leapSign, leapTime, osvRec, osvRecJ2, relOrbit, and EECFI::CfiClass::throwWarn.
void EECFI::DorisFile::readHeader | ( | ) |
Read DORIS header.
Reimplemented from EECFI::EEFile.
References EECFI::EEFile::fileName, header, and EECFI::CfiClass::throwWarn.
void EECFI::DorisFile::write | ( | const std::string & | fileNam | ) | const |
Write the file with the data in the object.
void EECFI::DorisFile::write | ( | const std::string & | fileNam, | |
const DorisHeader & | fhr, | |||
const std::vector< OsvRec > & | osvRecEF, | |||
const std::vector< OsvRec > & | osvRecJ, | |||
double | leapTim, | |||
int | leapSig, | |||
long | absOrbi, | |||
long | relOrbi | |||
) |
Write the file with all the parameters.
First absolute orbit number.
Referenced by read().
DORIS header.
Referenced by readHeader(), and ~DorisFile().
Sign of the leap second.
Referenced by read().
double EECFI::DorisFile::leapTime |
std::vector<OsvRec> EECFI::DorisFile::osvRec |
Vector of state vectors in EF.
Referenced by read(), and ~DorisFile().
std::vector<OsvRec> EECFI::DorisFile::osvRecJ2 |
Vector of state vectors in J2000.
Referenced by read(), and ~DorisFile().
First relative orbit number.
Referenced by read().