Changeset 9560 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp


Ignore:
Timestamp:
Dec 2, 2021, 5:18:27 PM (2 years ago)
Author:
stuerze
Message:

update regarding PPP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r9559 r9560  
    6565  // Select pseudo-ranges and phase observations
    6666  // -------------------------------------------
    67   const string preferredAttrib = "G:12&W R:12&P E:1&CX E:5&QX C:26&I";
     67  string preferredAttrib = "G:12&WCPSLX R:12&PC E:1&CBX E:5&QIX C:26&IQX";
     68  if (OPT->_obsModelType == OPT->DCMcodeBias ||
     69      OPT->_obsModelType == OPT->DCMphaseBias) {
     70    // at the moment only one code or phase bias per system (G,E,C)/modulation considered,
     71    preferredAttrib = "G:12&W R:12&PC E:1&CX E:5&QX C:26&I";
     72  }
    6873
    6974  for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) {
     
    100105  }
    101106
    102   // Find Glonass Channel Number
     107  // Find GLONASS Channel Number
    103108  // ---------------------------
    104109  if (_prn.system() == 'R') {
     
    444449      _model._antPCO[ii]  = PPP_CLIENT->antex()->rcvCorr(station->antName(), frqType, _model._eleSat, _model._azSat, found);
    445450      _model._antPCO[ii] += PPP_CLIENT->antex()->satCorr(prn, frqType,  _model._elTx, _model._azTx, found);
    446       if (OPT->_isAPC) {
     451      if (OPT->_isAPC && found) {
    447452        // the PCOs as given in the satellite antenna correction for all frequencies
    448453        // have to be reduced by the PCO of the reference frequency
Note: See TracChangeset for help on using the changeset viewer.