Changeset 10195 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 4, 2023, 11:36:42 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r10193 r10195 343 343 t_lc::type tLC = t_lc::dummy; 344 344 double offGlo = 0.0; 345 double MAXRES = 0.0; 345 const double MAXRES = 150.0; 346 346 347 if (OPT->useSystem('R')) { 347 348 348 while (obsVector.size() > 0) { 349 349 offGlo = 0.0; … … 357 357 if (tLC == t_lc::dummy) { 358 358 tLC = satObs->isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1; 359 MAXRES = satObs->maxRes(tLC);360 359 } 361 360 if (satObs->isValid(tLC) && (!satObs->modelSet() || satObs->eleSat() >= OPT->_minEle)) { … … 371 370 } 372 371 } 373 374 372 if (nObs > 0) { 375 373 offGlo = offGlo / nObs; … … 378 376 offGlo = 0.0; 379 377 } 380 381 378 if (fabs(maxRes) > MAXRES) { 382 379 LOG << "t_pppClient::cmpOffGlo outlier " << maxResPrn.toString() << " " << maxRes << endl; … … 398 395 t_lc::type tLC = t_lc::dummy; 399 396 double offGal = 0.0; 400 double MAXRES =0.0;397 const double MAXRES = 150.0; 401 398 402 399 if (OPT->useSystem('E')) { 403 404 400 while (obsVector.size() > 0) { 405 401 offGal = 0.0; … … 413 409 if (tLC == t_lc::dummy) { 414 410 tLC = satObs->isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1; 415 MAXRES = satObs->maxRes(tLC);416 411 } 417 412 if (satObs->isValid(tLC) && (!satObs->modelSet() || satObs->eleSat() >= OPT->_minEle)) { … … 427 422 } 428 423 } 429 430 424 if (nObs > 0) { 431 425 offGal = offGal / nObs; … … 434 428 offGal = 0.0; 435 429 } 436 437 430 if (fabs(maxRes) > MAXRES) { 438 431 LOG << "t_pppClient::cmpOffGal outlier " << maxResPrn.toString() << " " << maxRes << endl; … … 455 448 t_lc::type tLC = t_lc::dummy; 456 449 double offBds = 0.0; 457 double MAXRES =0.0;450 const double MAXRES = 150.0; 458 451 459 452 if (_opt->useSystem('C')) { … … 469 462 if (tLC == t_lc::dummy) { 470 463 tLC = satObs->isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1; 471 MAXRES = satObs->maxRes(tLC);472 464 } 473 465 if (satObs->isValid(tLC) && (!satObs->modelSet() || satObs->eleSat() >= _opt->_minEle)) { … … 483 475 } 484 476 } 485 486 477 if (nObs > 0) { 487 478 offBds = offBds / nObs; … … 490 481 offBds = 0.0; 491 482 } 492 493 483 if (fabs(maxRes) > MAXRES) { 494 484 LOG << "t_pppClient::cmpOffBds outlier " << maxResPrn.toString() << " " << maxRes << endl;
Note:
See TracChangeset
for help on using the changeset viewer.