Changeset 6898 in ntrip


Ignore:
Timestamp:
Jun 15, 2015, 10:45:59 AM (9 years ago)
Author:
stuerze
Message:

windowing added for RINEX navigation data

File:
1 edited

Legend:

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

    r6841 r6898  
    7272  _begTime        = bncTime(settings.value("reqcStartDateTime").toString().toAscii().data());
    7373  _endTime        = bncTime(settings.value("reqcEndDateTime").toString().toAscii().data());
     74
    7475}
    7576
     
    575576  for (int ii = 0; ii < _ephs.size(); ii++) {
    576577    const t_eph* eph = _ephs[ii];
     578    if (_begTime.valid() && eph->TOC() < _begTime) {
     579      continue;
     580    }
     581    if (_endTime.valid() && eph->TOC() > _endTime) {
     582      break;
     583    }
    577584    outNavFile.writeEph(eph);
    578585  }
Note: See TracChangeset for help on using the changeset viewer.