Changeset 4263 in ntrip for trunk/BNC/rinex/bncpostprocess.cpp


Ignore:
Timestamp:
Jun 22, 2012, 11:05:56 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4261 r4263  
    126126    else if (type.indexOf("L1") == 0 && obs.L1C == 0.0) {
    127127      obs.L1C = rnxSat.obs[iType];
     128      if      (obs.slip_cnt_L1 < 0) {  // undefined value
     129        obs.slip_cnt_L1 = 0;
     130      }
     131      else if (rnxSat.lli[iType] & 1) {
     132        ++obs.slip_cnt_L1;
     133      }
    128134    }
    129135    else if (type.indexOf("C2") == 0 && obs.C2  == 0.0) {
     
    135141    else if (type.indexOf("L2") == 0 && obs.L2C == 0.0) {
    136142      obs.L2C = rnxSat.obs[iType];
     143      if      (obs.slip_cnt_L2 < 0) {  // undefined value
     144        obs.slip_cnt_L2 = 0;
     145      }
     146      else if (rnxSat.lli[iType] & 1) {
     147        ++obs.slip_cnt_L2;
     148      }
    137149    }
    138150  }
Note: See TracChangeset for help on using the changeset viewer.