49 "::loadEpochs4Scans(): the vgosDb variable ScanTimeUTC is empty");
57 "::loadEpochs4Scans(): format check failed");
65 epochs.append(
SgMJD(pYMDHM[5*i ], pYMDHM[5*i+1], pYMDHM[5*i+2], pYMDHM[5*i+3],
66 pYMDHM[5*i+4], pSeconds[i]));
69 "::loadEpochs4Scans(): read " + QString(
"").setNum(epochs.size()) +
82 "::loadScanName(): the vgosDb variable ScanName is empty");
90 "::loadScanName(): format check failed");
94 const char *pN=NULL, *pF=NULL;
113 scanNames [i] = QString::fromLatin1(pN + lN*i, lN);
115 scanFullNames[i] = QString::fromLatin1(pF + lF*i, lF);
119 "::loadScanName(): data successfully loaded from " + ncdf.
getFileName());
122 "::loadScanName(): only scan names are available in " + ncdf.
getFileName());
125 "::loadScanName(): only scan full names are available in " + ncdf.
getFileName());
128 "::loadScanName(): nothing to load from " + ncdf.
getFileName());
141 "::loadScanEphemeris(): the vgosDb variable Ephemeris is empty");
149 "::loadScanEphemeris(): format check failed");
191 "::loadScanEphemeris(): data loaded successfully from " + ncdf.
getFileName());
203 "::loadScanNutationEqxWahr(): the vgosDb variable NutationEqx_kWahr is empty");
211 "::loadScanNutationEqxWahr(): format check failed");
226 "::loadScanNutationEqxWahr(): data loaded successfully from " + ncdf.
getFileName());
239 "::loadScanNutationEqx(): the vgosDb variable NutationEqx is empty");
247 "::loadScanNutationEqx(): format check failed");
263 "::loadScanNutationEqx(): data loaded successfully from " + ncdf.
getFileName());
276 "::loadScanNutationNRO(): the vgosDb variable NutationNro is empty");
285 "::loadScanNutationNRO(): format check failed");
303 "::loadScanNutationNRO(): data loaded successfully from " + ncdf.
getFileName());
316 "::loadScanCrootFname(): the vgosDb variable CorrRootFile is empty");
324 "::loadScanCrootFname(): format check failed");
330 "::loadScanCrootFname(): cannot find the variable " +
fcCROOTFIL.
name() +
" in the file");
337 corrRootFnames[i] = QString::fromLatin1(pN + lN*i, lN);
339 "::loadScanCrootFname(): data successfully loaded from " + ncdf.
getFileName());
351 "::loadScanTrf2crf(): the vgosDb variable Rot_CF2J2K is empty");
360 "::loadScanTrf2crf(): format check failed");
368 for (
int j=0; j<9; j++)
375 "::loadScanTrf2crf(): data loaded successfully from " + ncdf.
getFileName());
387 "::loadErpApriori(): the vgosDb variable ErpApriori is empty");
396 "::loadErpApriori(): format check failed");
411 "::loadErpApriori(): data loaded successfully from " + ncdf.
getFileName());
435 "NUT WAHR",
"Wahr nut vals - Dpsi Deps&rates"),
437 "NUT2006A",
"IAU2006A Nut. - Dpsi Deps Rates"),
439 "NUT06XYS",
"2000/2006 Nut/Prec X,Y, S & Rates"),
441 "CROOTFIL",
"Correlator root file name.......",
"",
"?"),
443 "",
"Integer part of MJD time tag of scan",
"day"),
445 "",
"Fractional day part of time tag of scan",
"day"),
447 "SUN DATA",
"Solar geocentric coordinates and velocities",
"Meter|Meter/sec"),
449 "MOONDATA",
"Lunar geocentric coordinates and velocities",
"Meter|Meter/sec"),
451 "EARTH CE",
"Earth barycentric coordinates, vels and accs",
"Meter|Meter/sec|Meter/sec/sec"),
453 "CF2J2K ",
"Crust-fixed to J2000 Rot. Matrix and deriviatives"),
456 "UT1 -TAI",
"UT1 time of day for this obsvr.",
"second"),
458 "POLAR XY",
"Polar motion X & Y for obs (rad)",
"radian")
QList< SgVgosDb::FmtChkVar * > fcfScanNameInput
QList< SgVgosDb::FmtChkVar * > fcfNutationEqxWahr
QList< SgVgosDb::FmtChkVar * > fcfCorrRootFile
SgVgosDb::FmtChkVar fcEarthXyz("EarthXYZ", NC_DOUBLE, true, QList< int >()<< SD_NumScans<< 3<< 3, "EARTH CE", "Earth barycentric coordinates, vels and accs", "Meter|Meter/sec|Meter/sec/sec")
QList< SgVgosDb::FmtChkVar * > fcfRotCf2J2K
SgVgosDb::FmtChkVar fcNutationNro("NutationNRO", NC_DOUBLE, true, QList< int >()<< SD_NumScans<< 2<< 3, "NUT06XYS", "2000/2006 Nut/Prec X,Y, S & Rates")
SgVgosDb::FmtChkVar fcUt1_Tai("UT1", NC_DOUBLE, true, QList< int >()<< SD_NumScans, "UT1 -TAI", "UT1 time of day for this obsvr.", "second")
SgVgosDb::FmtChkVar fcDayFrac("DayFrac", NC_DOUBLE, true, QList< int >()<< SD_NumScans, "", "Fractional day part of time tag of scan", "day")
SgVgosDb::FmtChkVar fcSunXyz("SunXYZ", NC_DOUBLE, true, QList< int >()<< SD_NumScans<< 2<< 3, "SUN DATA", "Solar geocentric coordinates and velocities", "Meter|Meter/sec")
SgVgosDb::FmtChkVar fcMoonXyz("MoonXYZ", NC_DOUBLE, true, QList< int >()<< SD_NumScans<< 2<< 3, "MOONDATA", "Lunar geocentric coordinates and velocities", "Meter|Meter/sec")
SgVgosDb::FmtChkVar fcPolarMotion("PolarMotion", NC_DOUBLE, true, QList< int >()<< SD_NumScans<< 2, "POLAR XY", "Polar motion X & Y for obs (rad)", "radian")
SgVgosDb::FmtChkVar fcCROOTFIL("CROOTFIL", NC_CHAR, false, QList< int >()<< SD_NumScans<< 16, "CROOTFIL", "Correlator root file name.......", "", "?")
SgVgosDb::FmtChkVar fcMjd("MJD", NC_INT, true, QList< int >()<< SD_NumScans, "", "Integer part of MJD time tag of scan", "day")
QList< SgVgosDb::FmtChkVar * > fcfEphemeris
QList< SgVgosDb::FmtChkVar * > fcfNutationEqx
SgVgosDb::FmtChkVar fcNutationEqx("NutationEQX", NC_DOUBLE, true, QList< int >()<< SD_NumScans<< 2<< 2, "NUT2006A", "IAU2006A Nut. - Dpsi Deps Rates")
QList< SgVgosDb::FmtChkVar * > fcfNutationNro
SgVgosDb::FmtChkVar fcScanNameInput("ScanName", NC_CHAR, false, QList< int >()<< SD_NumScans<< SD_Any)
QList< SgVgosDb::FmtChkVar * > fcfScanTimeMjd
SgVgosDb::FmtChkVar fcScanName("ScanName", NC_CHAR, false, QList< int >()<< SD_NumScans<< 10)
QList< SgVgosDb::FmtChkVar * > fcfScanName
SgVgosDb::FmtChkVar fcScanNameFull("ScanNameFull", NC_CHAR, false, QList< int >()<< SD_NumScans<< 30)
SgVgosDb::FmtChkVar fcRotCf2J2K("Rot-CF2J2K", NC_DOUBLE, true, QList< int >()<< SD_NumScans<< 3<< 3<< 3, "CF2J2K ", "Crust-fixed to J2000 Rot. Matrix and deriviatives")
QList< SgVgosDb::FmtChkVar * > fcfErpApriori
SgVgosDb::FmtChkVar fcNutationEqxWahr("NutationEQX", NC_DOUBLE, true, QList< int >()<< SD_NumScans<< 2<< 2, "NUT WAHR", "Wahr nut vals - Dpsi Deps&rates")
SgVgosDb::FmtChkVar fcSecond("Second", NC_DOUBLE, true, QList< int >()<< SD_Any, "SEC TAG ", "Seconds part of UTC TAG.........", "second")
SgVgosDb::FmtChkVar fcYmdhm("YMDHM", NC_SHORT, true, QList< int >()<< SD_Any<< 5, "UTC TAG ", "Epoch UTC YMDHM.................")
QList< SgVgosDb::FmtChkVar * > fcfTimeUTC
virtual void write(LogLevel, quint32, const QString &, bool=false)
void setElement(unsigned int i, unsigned int j, double d)
const char * data2char() const
const short * data2short() const
const QList< SgNcdfDimension * > & dimensions() const
const double * data2double() const
SgNcdfVariable * lookupVar(const QString &name) const
const QString & getFileName() const
const QString & getKind() const
const QString & getFileName() const
void setElement(unsigned int i, double d)
const QString & name() const
SgVdbVariable vErpApriori_
SgVdbVariable vNutationNro_
static const QString className()
bool loadScanNutationEqx(SgMatrix *&pPsiEps, SgMatrix *&pPsiEps_rates, QString &kind)
bool checkFormat(const QList< FmtChkVar * > &, const SgNetCdf &, bool ok2fail=false)
bool loadScanNutationEqxWahr(SgMatrix *&pPsiEps, SgMatrix *&pPsiEps_rates)
SgVdbVariable vNutationEqx_
bool loadScanName(QVector< QString > &scanNames, QVector< QString > &scanFullNames)
bool loadScanTrf2crf(SgMatrix *&val, SgMatrix *&rat, SgMatrix *&acc)
SgVdbVariable vScanTimeUTC_
SgVdbVariable vNutationEqx_kWahr_
bool loadScanNutationNro(SgMatrix *&pXys, SgMatrix *&pXys_rates, QString &kind)
SgVdbVariable vRot_CF2J2K_
bool loadScanCrootFname(QVector< QString > &corrRootFnames)
bool loadEpochs4Scans(QList< SgMJD > &)
SgVdbVariable vEphemeris_
bool loadScanEphemeris(SgMatrix *&rSun, SgMatrix *&rMoon, SgMatrix *&rEarth, SgMatrix *&vSun, SgMatrix *&vMoon, SgMatrix *&vEarth, SgMatrix *&aEarth)
SgVdbVariable vCorrRootFile_
bool loadErpApriori(SgVector *&ut1_tai, SgMatrix *&pm)