Changeset 9854 in ntrip for trunk/BNC/src/rinex


Ignore:
Timestamp:
Oct 21, 2022, 2:04:29 PM (18 months ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r9797 r9854  
    9898  delete _logFile; _logFile = 0;
    9999  if (BNC_CORE->mode() != t_bncCore::interactive) {
    100     qApp->exit(0);
     100    qApp->exit(8);
    101101    msleep(100); //sleep 0.1 sec
    102102  }
     
    765765        << "Interval           : " << _qcFile._interval << " sec"                  << '\n';
    766766
    767   // Number of systems
    768   // -----------------
    769   QMap<QChar, QVector<const t_qcSatSum*> > systemMap;
    770   QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum);
    771   while (itSat.hasNext()) {
    772     itSat.next();
    773     const t_prn&      prn      = itSat.key();
    774     const t_qcSatSum& qcSatSum = itSat.value();
    775     systemMap[prn.system()].push_back(&qcSatSum);
    776   }
    777   *_log << "Navigation Systems : " << systemMap.size() << "   ";
    778 
    779   QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap);
    780   while (itSys.hasNext()) {
    781     itSys.next();
    782     *_log << ' ' << itSys.key();
    783   }
    784   *_log << '\n';
    785767
    786768  // Observation types per system
     
    797779    }
    798780  }
     781
     782  // Number of analysed systems
     783  // --------------------------
     784  QMap<QChar, QVector<const t_qcSatSum*> > systemMap;
     785  QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum);
     786  while (itSat.hasNext()) {
     787    itSat.next();
     788    const t_prn&      prn      = itSat.key();
     789    const t_qcSatSum& qcSatSum = itSat.value();
     790    systemMap[prn.system()].push_back(&qcSatSum);
     791  }
     792  *_log << "Analysed GNSS      : " << systemMap.size() << "   ";
     793  QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap);
     794  while (itSys.hasNext()) {
     795    itSys.next();
     796    *_log << ' ' << itSys.key();
     797  }
     798  *_log << '\n';
     799
    799800
    800801  // System specific summary
     
    10131014                                       << numUnhealthy << " UNHEALTHY   "
    10141015                                       << numBad       << " WRONG\n";
    1015     }
    1016     if (numBad > 0 || numUnhealthy > 0) {
    1017       for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) {
    1018         t_eph* eph = rnxNavFile.ephs()[ii];
    1019         QFileInfo navFi(fileName);
    1020         if (_log) {
    1021 #ifdef BNC_DEBUG_BCEP
    1022           if (eph->checkState() == t_eph::unhealthy) {
    1023             *_log  << "                     "
    1024                 << navFi.fileName() << ' ' << QString(": UNHEALTHY %2:%3\n")
    1025                            .arg(eph->navTypeString(eph->navType(), eph->prn(), 99.0))
    1026                            .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 99.0)).toLatin1();
    1027           }
    1028 #endif
     1016      if (numBad > 0) {
     1017        for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) {
     1018          t_eph* eph = rnxNavFile.ephs()[ii];
     1019          QFileInfo navFi(fileName);
    10291020          if (eph->checkState() == t_eph::bad) {
    10301021            *_log  << "                     "
     
    10351026        }
    10361027      }
    1037     }
    1038   }
    1039   if (_log) {
    1040     *_log << '\n';
     1028      *_log << '\n';
     1029    }
    10411030  }
    10421031}
  • trunk/BNC/src/rinex/reqcedit.cpp

    r9797 r9854  
    152152  // -------------
    153153  if (BNC_CORE->mode() != t_bncCore::interactive) {
    154     qApp->exit(0);
     154    qApp->exit(9);
    155155    msleep(100); //sleep 0.1 sec
    156156  }
Note: See TracChangeset for help on using the changeset viewer.