General Purpose Geodetic Library
|
#include <SgExternalErpFile.h>
Public Types | |
enum | EopIdx { UT1_IDX = 0 , PMX_IDX = 1 , PMY_IDX = 2 , CIX_IDX = 3 , CIY_IDX = 4 } |
enum | InputEopType { IET_UNKN = 0 , IET_ERP = 1 , IET_FINALS = 2 , IET_C04 = 3 } |
Public Member Functions | |
SgExternalEopFile () | |
~SgExternalEopFile () | |
SgTidalUt1::UT1TideContentType | ut1Type () const |
InputEopType | inputEopType () const |
const QString & | getFileName () const |
void | setFileName (const QString &) |
bool | isOk () const |
SgVector * | argument () |
SgMatrix * | eopTable () |
bool | readFile (const QString &, const SgMJD &, int numOfPoints) |
Static Public Member Functions | |
static const QString | className () |
Private Member Functions | |
bool | readErpFile (const QString &fileName, const SgMJD &tMean, int numOfPoints) |
bool | readFinalsFile (const QString &fileName, const SgMJD &tMean, int numOfPoints) |
bool | readC04File (const QString &fileName, const SgMJD &tMean, int numOfPoints) |
Private Attributes | |
SgMJD | firstEpoch_ |
SgMJD | lastEpoch_ |
QString | fileName_ |
bool | isOk_ |
SgVector * | argument_ |
SgMatrix * | eopTable_ |
SgTidalUt1::UT1TideContentType | ut1Type_ |
InputEopType | inputEopType_ |
====================================================================================================
Definition at line 47 of file SgExternalErpFile.h.
Enumerator | |
---|---|
UT1_IDX | |
PMX_IDX | |
PMY_IDX | |
CIX_IDX | |
CIY_IDX |
Definition at line 50 of file SgExternalErpFile.h.
Enumerator | |
---|---|
IET_UNKN | |
IET_ERP | |
IET_FINALS | |
IET_C04 |
Definition at line 58 of file SgExternalErpFile.h.
|
inline |
A constructor. Creates a default object.
Definition at line 148 of file SgExternalErpFile.h.
References argument_, SgTidalUt1::CT_FULL, eopTable_, IET_UNKN, inputEopType_, isOk_, and ut1Type_.
SgExternalEopFile::~SgExternalEopFile | ( | ) |
A destructor. Frees allocated memory.
Definition at line 54 of file SgExternalErpFile.cpp.
|
inline |
Definition at line 189 of file SgExternalErpFile.h.
References argument_.
Referenced by SgVlbiSession::prepare4ErpInterpolation().
|
static |
Returns name of the class (for debug output).
Definition at line 46 of file SgExternalErpFile.cpp.
Referenced by readC04File(), readErpFile(), readFile(), and readFinalsFile().
|
inline |
Definition at line 197 of file SgExternalErpFile.h.
References eopTable_.
Referenced by SgVlbiSession::prepare4ErpInterpolation().
|
inline |
Returns name of the file with the model.
Definition at line 166 of file SgExternalErpFile.h.
References fileName_.
Referenced by SgVlbiSession::collectAPriories(), and SgVlbiSession::process().
|
inline |
Definition at line 87 of file SgExternalErpFile.h.
References inputEopType_.
Referenced by SgVlbiSession::prepare4ErpInterpolation().
|
inline |
Definition at line 181 of file SgExternalErpFile.h.
References isOk_.
Referenced by SgVlbiSession::prepare4ErpInterpolation(), readC04File(), readErpFile(), and readFinalsFile().
|
private |
Definition at line 466 of file SgExternalErpFile.cpp.
References argument_, CIX_IDX, CIY_IDX, className(), SgTidalUt1::CT_FULL, eopTable_, fileName_, SgLogger::IO_TXT, isOk(), logger, PMX_IDX, PMY_IDX, SgVector::setElement(), SgMatrix::setElement(), SgMJD::toDouble(), UT1_IDX, ut1Type_, SgLogger::write(), and SgLogger::WRN.
Referenced by readFile().
|
private |
Definition at line 128 of file SgExternalErpFile.cpp.
References argument_, CIX_IDX, CIY_IDX, className(), SgTidalUt1::CT_ALL_TERMS_REMOVED, SgTidalUt1::CT_FULL, SgTidalUt1::CT_SHORT_TERMS_REMOVED, eopTable_, fileName_, SgLogger::IO_TXT, isOk(), logger, PMX_IDX, PMY_IDX, SgVector::setElement(), SgMatrix::setElement(), SgMJD::toDouble(), tZero, UT1_IDX, ut1Type_, SgLogger::write(), and SgLogger::WRN.
Referenced by readFile().
bool SgExternalEopFile::readFile | ( | const QString & | fileName, |
const SgMJD & | tMean, | ||
int | numOfPoints | ||
) |
Reads model's values from an external file.
Definition at line 71 of file SgExternalErpFile.cpp.
References argument_, className(), eopTable_, IET_C04, IET_ERP, IET_FINALS, IET_UNKN, inputEopType_, SgLogger::IO_TXT, isOk_, logger, readC04File(), readErpFile(), readFinalsFile(), SgLogger::write(), and SgLogger::WRN.
Referenced by SgVlbiSession::collectAPriories().
|
private |
Definition at line 346 of file SgExternalErpFile.cpp.
References argument_, CIX_IDX, CIY_IDX, className(), SgTidalUt1::CT_FULL, eopTable_, fileName_, SgLogger::IO_TXT, isOk(), logger, PMX_IDX, PMY_IDX, SgVector::setElement(), SgMatrix::setElement(), SgMJD::toDouble(), UT1_IDX, ut1Type_, SgLogger::write(), and SgLogger::WRN.
Referenced by readFile().
|
inline |
Sets up a name of the file with the model.
Definition at line 174 of file SgExternalErpFile.h.
References fileName_.
|
inline |
Definition at line 86 of file SgExternalErpFile.h.
References ut1Type_.
Referenced by SgVlbiSession::prepare4ErpInterpolation().
|
private |
Definition at line 122 of file SgExternalErpFile.h.
Referenced by SgExternalEopFile(), ~SgExternalEopFile(), argument(), readC04File(), readErpFile(), readFile(), and readFinalsFile().
|
private |
Definition at line 123 of file SgExternalErpFile.h.
Referenced by SgExternalEopFile(), ~SgExternalEopFile(), eopTable(), readC04File(), readErpFile(), readFile(), and readFinalsFile().
|
private |
Definition at line 120 of file SgExternalErpFile.h.
Referenced by getFileName(), readC04File(), readErpFile(), readFinalsFile(), and setFileName().
|
private |
Definition at line 118 of file SgExternalErpFile.h.
|
private |
Definition at line 126 of file SgExternalErpFile.h.
Referenced by SgExternalEopFile(), inputEopType(), and readFile().
|
private |
Definition at line 121 of file SgExternalErpFile.h.
Referenced by SgExternalEopFile(), isOk(), and readFile().
|
private |
Definition at line 119 of file SgExternalErpFile.h.
|
private |
Definition at line 125 of file SgExternalErpFile.h.
Referenced by SgExternalEopFile(), readC04File(), readErpFile(), readFinalsFile(), and ut1Type().