Changeset 10195 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Sep 4, 2023, 11:36:42 AM (9 months ago)
Author:
stuerze
Message:

changes regarding ppp

File:
1 edited

Legend:

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

    r10193 r10195  
    343343  t_lc::type tLC = t_lc::dummy;
    344344  double offGlo = 0.0;
    345   double MAXRES = 0.0;
     345  const double MAXRES = 150.0;
     346
    346347  if (OPT->useSystem('R')) {
    347 
    348348    while (obsVector.size() > 0) {
    349349      offGlo = 0.0;
     
    357357          if (tLC == t_lc::dummy) {
    358358            tLC = satObs->isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1;
    359             MAXRES = satObs->maxRes(tLC);
    360359          }
    361360          if (satObs->isValid(tLC) && (!satObs->modelSet() || satObs->eleSat() >= OPT->_minEle)) {
     
    371370        }
    372371      }
    373 
    374372      if (nObs > 0) {
    375373        offGlo = offGlo / nObs;
     
    378376        offGlo = 0.0;
    379377      }
    380 
    381378      if (fabs(maxRes) > MAXRES) {
    382379        LOG << "t_pppClient::cmpOffGlo outlier " << maxResPrn.toString() << " " << maxRes << endl;
     
    398395  t_lc::type tLC  = t_lc::dummy;
    399396  double offGal = 0.0;
    400   double MAXRES = 0.0;
     397  const double MAXRES = 150.0;
    401398
    402399  if (OPT->useSystem('E')) {
    403 
    404400    while (obsVector.size() > 0) {
    405401      offGal = 0.0;
     
    413409          if (tLC == t_lc::dummy) {
    414410            tLC = satObs->isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1;
    415             MAXRES = satObs->maxRes(tLC);
    416411          }
    417412          if (satObs->isValid(tLC) && (!satObs->modelSet() || satObs->eleSat() >= OPT->_minEle)) {
     
    427422        }
    428423      }
    429 
    430424      if (nObs > 0) {
    431425        offGal = offGal / nObs;
     
    434428        offGal = 0.0;
    435429      }
    436 
    437430      if (fabs(maxRes) > MAXRES) {
    438431        LOG << "t_pppClient::cmpOffGal outlier " << maxResPrn.toString() << " " << maxRes << endl;
     
    455448  t_lc::type tLC = t_lc::dummy;
    456449  double offBds = 0.0;
    457   double MAXRES = 0.0;
     450  const double MAXRES = 150.0;
    458451
    459452  if (_opt->useSystem('C')) {
     
    469462          if (tLC == t_lc::dummy) {
    470463            tLC = satObs->isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1;
    471             MAXRES = satObs->maxRes(tLC);
    472464          }
    473465          if (satObs->isValid(tLC) && (!satObs->modelSet() || satObs->eleSat() >= _opt->_minEle)) {
     
    483475        }
    484476      }
    485 
    486477      if (nObs > 0) {
    487478        offBds = offBds / nObs;
     
    490481        offBds = 0.0;
    491482      }
    492 
    493483      if (fabs(maxRes) > MAXRES) {
    494484        LOG << "t_pppClient::cmpOffBds outlier " << maxResPrn.toString() << " " << maxRes << endl;
Note: See TracChangeset for help on using the changeset viewer.