Changeset 11059 in ntrip for trunk/BNC/src/combination/bnccomb.cpp
- Timestamp:
- Sep 30, 2026, 11:03:55 PM (6 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/combination/bnccomb.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r11058 r11059 963 963 QTextStream out(&_log, QIODevice::WriteOnly); 964 964 processSystem(epoTime, sys, out); 965 out.flush(); // QTextStream buffers: pass the complete log text on 965 966 _buffer.remove(sys); 966 967 if (_logFile) { … … 1685 1686 } 1686 1687 1688 QSet<QString> singleACSats; // satellites skipped: corrections from < 2 ACs 1689 QSet<QString> singleACNames; 1690 1687 1691 while (_running) { 1688 1692 … … 1758 1762 QString prn = corr->_prn; 1759 1763 if (numCorr[prn] < 2) { 1764 singleACSats.insert(prn.mid(0,3)); 1765 singleACNames.insert(corr->_acName); 1760 1766 delete corr; 1761 1767 im.remove(); … … 1804 1810 } 1805 1811 1812 1813 // Satellites with corrections from fewer than 2 ACs cannot be checked for 1814 // orbit outliers and are skipped (e.g. if an AC is missing): log it, in 1815 // the combination log every epoch, in the BNC log at most once per hour 1816 // ------------------------------------------------------------------------- 1817 if (!singleACSats.isEmpty()) { 1818 QStringList sats = singleACSats.values(); sats.sort(); 1819 QStringList acs = singleACNames.values(); acs.sort(); 1820 QString msg = QString("%1 satellite(s) skipped, corrections from fewer than 2 ACs (only %2): %3") 1821 .arg(sats.size()).arg(acs.join(",")).arg(sats.join(" ")); 1822 out << epoTime.datestr().c_str() << " " << epoTime.timestr().c_str() << " " << msg << "\n"; 1823 bncTime& warned = _singleACWarned[sys]; 1824 if (!warned.valid() || epoTime - warned >= 3600.0) { 1825 warned = epoTime; 1826 emit newMessage("bncComb: " + QByteArray(1, sys) + " " + msg.toLatin1(), false); 1827 } 1828 } 1806 1829 return success; 1807 1830 }
Note:
See TracChangeset
for help on using the changeset viewer.
