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


Ignore:
Timestamp:
Jun 29, 2020, 10:09:16 AM (4 years ago)
Author:
stuerze
Message:

PPP update: pseudo obs tropo added

File:
1 edited

Legend:

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

    r8956 r8961  
    9292  for (unsigned ii = 0; ii < OPT->LCs(_prn.system()).size(); ii++) {
    9393    t_lc::type tLC = OPT->LCs(_prn.system())[ii];
    94     if (tLC == t_lc::GIM) {continue;}
     94    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {continue;}
    9595    if (!isValid(tLC)) {
    9696      _valid = false;
     
    190190    return;
    191191  case t_lc::GIM:
     192  case t_lc::Tz0:
    192193  case t_lc::dummy:
    193194  case t_lc::maxLc:
     
    218219    }
    219220    else {
    220       return _stecRefSat - _stecSat;
    221     }
     221      return _stecRefSat;
     222    }
     223  }
     224
     225  if (tLC == t_lc::Tz0) {
     226    return _model._tropo0;
    222227  }
    223228
     
    292297  if (tLC == t_lc::GIM) {
    293298    retVal = OPT->_sigmaGIMdiff * OPT->_sigmaGIMdiff;
     299  }
     300
     301  if (tLC == t_lc::Tz0) {
     302    retVal = OPT->_sigmaTz0 * OPT->_sigmaTz0;
    294303  }
    295304
     
    407416  // Tropospheric Delay
    408417  // ------------------
    409   _model._tropo = t_tropo::delay_saast(rRec, _model._eleSat);
     418  _model._tropo  = t_tropo::delay_saast(rRec, _model._eleSat);
     419  _model._tropo0 = t_tropo::delay_saast(rRec, M_PI/2.0);
    410420
    411421  // Code Biases
     
    570580  }
    571581  else if (tLC == t_lc::GIM) {
    572     cmpValue = 0.0;
     582    cmpValue =  _stecSat;
     583  }
     584  else if (tLC == t_lc::Tz0) {
     585    cmpValue = _model._tropo0;
    573586  }
    574587  else {
     
    633646  _stecRefSat = stecRefSat;
    634647}
     648
     649
     650//
     651////////////////////////////////////////////////////////////////////////////
     652void  t_pppSatObs::setPseudoObsTropo() {qDebug() << "setPseudoObsTropo";
     653  _tropo0 = _model._tropo0;
     654}
Note: See TracChangeset for help on using the changeset viewer.