Changeset 3993 in ntrip for trunk


Ignore:
Timestamp:
Apr 22, 2012, 9:47:46 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/reqcedit.cpp

    r3992 r3993  
    101101    const t_rnxObsFile::t_rnxEpo* epo = 0;
    102102    while ( (epo = obsFile->nextEpoch()) != 0) {
    103       if ( (!_begTime.valid() || epo->tt >= _begTime) &&
    104            (!_endTime.valid() || epo->tt <= _endTime) ) {
     103      if (_begTime.valid() && epo->tt < _begTime) {
     104        continue;
     105      }
     106      if (_endTime.valid() && epo->tt > _endTime) {
     107        break;
     108      }
     109   
     110      if (_samplingRate == 0 ||
     111          fmod(round(epo->tt.gpssec()), _samplingRate) == 0) {
    105112        outObsFile.writeEpoch(epo);
    106113      }
Note: See TracChangeset for help on using the changeset viewer.