Changeset 4150 in ntrip


Ignore:
Timestamp:
May 11, 2012, 1:21:57 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4018 r4150  
    207207      while (it != _ephs.end()) {
    208208        t_eph* eph = *it;
    209         if (eph->prn() == prn && eph->IOD() == iod) {
     209        double dt = eph->TOC() - tt;
     210        if (dt < 8*3600.0 && eph->prn() == prn && eph->IOD() == iod) {
    210211          it = _ephs.erase(it);
    211212          return eph;
Note: See TracChangeset for help on using the changeset viewer.