Changeset 4667 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Sep 8, 2012, 6:22:54 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4666 r4667  
    220220  // --------------------
    221221  try {
     222    int       iEpo = 0;
     223    const int step = int( 30.0 / obsFile->interval());
     224    unsigned  numSat = 0;
     225    _numSat.clear();
     226    _numSatTim.clear();
    222227    while ( (_currEpo = obsFile->nextEpoch()) != 0) {
    223228 
     229      ++iEpo;
     230      if (numSat < _currEpo->rnxSat.size()) {
     231        numSat = _currEpo->rnxSat.size();
     232      }
     233      if ( (iEpo % step) == 0 ) {
     234        _numSatTim << _currEpo->tt.mjddec() * 24.0;
     235        _numSat    << numSat;
     236        numSat = 0;
     237      }
     238
    224239      // Loop over all satellites
    225240      // ------------------------
     
    574589
    575590    t_availPlot* plotA = new t_availPlot(0, &_availDataMap);
     591    plotA->setNumSat(_numSatTim, _numSat);
    576592    plotA->setTitle(title);
    577593
Note: See TracChangeset for help on using the changeset viewer.