- Timestamp:
- Sep 29, 2015, 4:04:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r7202 r7480 35 35 * Created: 27-Aug-2006 36 36 * 37 * Changes: 37 * Changes: 38 38 * 39 39 * -----------------------------------------------------------------------*/ … … 64 64 // Constructor 65 65 //////////////////////////////////////////////////////////////////////////// 66 bncRinex::bncRinex(const QByteArray& statID, const QUrl& mountPoint, 67 const QByteArray& latitude, const QByteArray& longitude, 66 bncRinex::bncRinex(const QByteArray& statID, const QUrl& mountPoint, 67 const QByteArray& latitude, const QByteArray& longitude, 68 68 const QByteArray& nmea, const QByteArray& ntripVersion) { 69 69 … … 115 115 116 116 QStringList table; 117 bncTableDlg::getFullTable(_ntripVersion, _mountPoint.host(), 117 bncTableDlg::getFullTable(_ntripVersion, _mountPoint.host(), 118 118 _mountPoint.port(), table, true); 119 119 QString net; … … 143 143 break; 144 144 } 145 } 145 } 146 146 } 147 147 } 148 148 } 149 149 if (!sklDir.isEmpty() && sklDir != "none") { 150 QUrl url(sklDir + "/" + _mountPoint.path().mid(1,4).toLower() + ".skl"); 150 QUrl url(sklDir + "/" + _mountPoint.path().mid(1,4).toLower() + ".skl"); 151 151 if (url.port() == -1) { 152 152 if (sklDir.contains("https", Qt::CaseInsensitive)) { … … 161 161 QByteArray outData; 162 162 query->waitForRequestResult(url, outData); 163 if (query->status() == bncNetQuery::finished) { 163 if (query->status() == bncNetQuery::finished && 164 outData.contains("END OF HEADER")) { 164 165 irc = success; 165 166 QTextStream in(outData); … … 208 209 // Next File Epoch (static) 209 210 //////////////////////////////////////////////////////////////////////////// 210 QString bncRinex::nextEpochStr(const QDateTime& datTim, 211 QString bncRinex::nextEpochStr(const QDateTime& datTim, 211 212 const QString& intStr, bool rnxV3filenames, 212 213 QDateTime* nextEpoch) { … … 305 306 } 306 307 307 QString hlpStr = nextEpochStr(datTim, settings.value("rnxIntr").toString(), 308 QString hlpStr = nextEpochStr(datTim, settings.value("rnxIntr").toString(), 308 309 _rnxV3filenames, &_nextCloseEpoch); 309 310 … … 490 491 // Prepare structure t_rnxEpo 491 492 // -------------------------- 492 t_rnxObsFile::t_rnxEpo rnxEpo; 493 t_rnxObsFile::t_rnxEpo rnxEpo; 493 494 rnxEpo.tt = fObs._time; 494 495 … … 581 582 582 583 str << obs._prn.toString() << ' '; 583 584 584 585 for (unsigned ii = 0; ii < obs._obs.size(); ii++) { 585 586 const t_frqObs* frqObs = obs._obs[ii]; 586 587 if (frqObs->_codeValid) { 587 str << " C" << frqObs->_rnxType2ch << ' ' 588 str << " C" << frqObs->_rnxType2ch << ' ' 588 589 << setw(14) << setprecision(3) << frqObs->_code; 589 590 } 590 591 if (frqObs->_phaseValid) { 591 str << " L" << frqObs->_rnxType2ch << ' ' 592 str << " L" << frqObs->_rnxType2ch << ' ' 592 593 << setw(14) << setprecision(3) << frqObs->_phase 593 594 << ' ' << setw(3) << frqObs->_slipCounter; 594 595 } 595 596 if (frqObs->_dopplerValid) { 596 str << " D" << frqObs->_rnxType2ch << ' ' 597 str << " D" << frqObs->_rnxType2ch << ' ' 597 598 << setw(14) << setprecision(3) << frqObs->_doppler; 598 599 } 599 600 if (frqObs->_snrValid) { 600 str << " S" << frqObs->_rnxType2ch << ' ' 601 str << " S" << frqObs->_rnxType2ch << ' ' 601 602 << setw(8) << setprecision(3) << frqObs->_snr; 602 603 }
Note:
See TracChangeset
for help on using the changeset viewer.