Changeset 6303 in ntrip


Ignore:
Timestamp:
Nov 7, 2014, 10:54:43 AM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6302 r6303  
    745745        << "Receiver          : " << _qcFile._receiverType                << endl
    746746        << "Antenna           : " << _qcFile._antennaName                 << endl
     747        << "Approx pos XYZ    : " << QString("%1 %2 %3").arg(obsFile->xyz()(1), 14, 'f', 4)
     748                                                        .arg(obsFile->xyz()(2), 14, 'f', 4)
     749                                                        .arg(obsFile->xyz()(3), 14, 'f', 4) << endl
     750        << "Antenna dH/dE/dN  : " << QString("%1 %2 %3").arg(obsFile->antNEU()(3), 8, 'f', 4)
     751                                                        .arg(obsFile->antNEU()(2), 8, 'f', 4)
     752                                                        .arg(obsFile->antNEU()(1), 8, 'f', 4) << endl
    747753        << "Start time        : " << _qcFile._startTime.datestr().c_str() << ' '
    748754                                  << _qcFile._startTime.timestr().c_str() << endl
    749755        << "End time          : " << _qcFile._endTime.datestr().c_str()   << ' '
    750756                                  << _qcFile._endTime.timestr().c_str()   << endl
    751         << "Interval          : " << _qcFile._interval                    << endl
    752         << "# Satellites      : " << _qcFile._qcSatSum.size()             << endl;
    753 
    754   int numObs          = 0;
    755   int numSlipsFlagged = 0;
    756   int numSlipsFound   = 0;
     757        << "Interval          : " << _qcFile._interval                    << endl;
     758
     759  // Number of systems
     760  // -----------------
     761  QMap<QChar, QVector<const t_qcSatSum*> > systemMap;
    757762  QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum);
    758763  while (itSat.hasNext()) {
    759764    itSat.next();
     765    const t_prn&      prn      = itSat.key();
    760766    const t_qcSatSum& qcSatSum = itSat.value();
    761 
    762     QMapIterator<QString, t_qcFrqSum> itFrq(qcSatSum._qcFrqSum);
    763     while (itFrq.hasNext()) {
    764       itFrq.next();
    765       const t_qcFrqSum& qcFrqSum = itFrq.value();
    766       numObs          += qcFrqSum._numObs;
    767       numSlipsFlagged += qcFrqSum._numSlipsFlagged;
    768       numSlipsFound   += qcFrqSum._numSlipsFound;
    769     }
    770   }
    771   *_log << "# Obs.:          " << numObs          << endl
    772         << "# Slips (file):  " << numSlipsFlagged << endl
    773         << "# Slips (found): " << numSlipsFound   << endl;
     767    systemMap[prn.system()].push_back(&qcSatSum);
     768  }
     769
     770  *_log << "Number of Systems : " << systemMap.size() << "   ";
     771  QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap);
     772  while (itSys.hasNext()) {
     773    itSys.next();
     774    *_log << ' ' << itSys.key();
     775  }
     776  *_log << endl;
    774777
    775778  // Epoch-Specific Output
Note: See TracChangeset for help on using the changeset viewer.