Changeset 7252 in ntrip
- Timestamp:
- Aug 24, 2015, 6:01:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r7250 r7252 396 396 // ----------------- 397 397 const t_vTec* vTec = PPP_CLIENT->obsPool()->vTec(); 398 if (vTec ) {398 if (vTec && (!isValid(t_lc::cIF) || !isValid(t_lc::lIF))) { 399 399 double stec = station->stec(vTec, _signalPropagationTime, rSat); 400 400 for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) { … … 411 411 // ------------------ 412 412 _model._set = true; 413 414 //printModel(); 413 415 414 416 return success; … … 432 434 for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) { 433 435 if (_obs[iFreq]) { 434 LOG << "PCO: " << t_frequency::toString(t_frequency::type(iFreq)) << setw(12) << setprecision(3) << _model._antPCO[iFreq] << endl 435 << "BIAS CODE: " << t_frequency::toString(t_frequency::type(iFreq)) << setw(12) << setprecision(3) << _model._codeBias[iFreq] << endl 436 << "BIAS PHASE: " << t_frequency::toString(t_frequency::type(iFreq)) << setw(12) << setprecision(3) << _model._phaseBias[iFreq] << endl; 436 LOG << "PCO : " << t_frequency::toString(t_frequency::type(iFreq)) << setw(12) << setprecision(3) << _model._antPCO[iFreq] << endl 437 << "BIAS CODE : " << t_frequency::toString(t_frequency::type(iFreq)) << setw(12) << setprecision(3) << _model._codeBias[iFreq] << endl 438 << "BIAS PHASE : " << t_frequency::toString(t_frequency::type(iFreq)) << setw(12) << setprecision(3) << _model._phaseBias[iFreq] << endl 439 << "IONO CODEDELAY: " << t_frequency::toString(t_frequency::type(iFreq)) << setw(12) << setprecision(3) << _model._ionoCodeDelay[iFreq] << endl; 437 440 } 438 441 } … … 484 487 for (it = codeCoeff.begin(); it != codeCoeff.end(); it++) { 485 488 t_frequency::type tFreq = it->first; 486 dispPart += it->second * (_model._antPCO[tFreq] + _model._codeBias[tFreq]); 489 dispPart += it->second * (_model._antPCO[tFreq] + _model._codeBias[tFreq] + 490 _model._ionoCodeDelay[tFreq]); 487 491 } 488 492 for (it = phaseCoeff.begin(); it != phaseCoeff.end(); it++) { 489 493 t_frequency::type tFreq = it->first; 490 494 dispPart += it->second * (_model._antPCO[tFreq] + _model._phaseBias[tFreq] + 491 _model._windUp * t_CST::lambda(tFreq, _channel)); 495 _model._windUp * t_CST::lambda(tFreq, _channel) - 496 _model._ionoCodeDelay[tFreq]); 492 497 } 493 498
Note:
See TracChangeset
for help on using the changeset viewer.