Changeset 7252 in ntrip


Ignore:
Timestamp:
Aug 24, 2015, 6:01:02 PM (9 years ago)
Author:
stuerze
Message:

ionospheric delay is added to the dispersive model part

File:
1 edited

Legend:

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

    r7250 r7252  
    396396  // -----------------
    397397  const t_vTec* vTec = PPP_CLIENT->obsPool()->vTec();
    398   if (vTec) {
     398  if (vTec && (!isValid(t_lc::cIF) || !isValid(t_lc::lIF))) {
    399399    double stec = station->stec(vTec, _signalPropagationTime, rSat);
    400400    for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) {
     
    411411  // ------------------
    412412  _model._set = true;
     413
     414  //printModel();
    413415
    414416  return success;
     
    432434  for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) {
    433435    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;
    437440    }
    438441  }
     
    484487  for (it = codeCoeff.begin(); it != codeCoeff.end(); it++) {
    485488    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]);
    487491  }
    488492  for (it = phaseCoeff.begin(); it != phaseCoeff.end(); it++) {
    489493    t_frequency::type tFreq = it->first;
    490494    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]);
    492497  }
    493498
Note: See TracChangeset for help on using the changeset viewer.