Changeset 8961 in ntrip for trunk/BNC/src/PPP/pppParlist.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/pppParlist.cpp

    r8956 r8961  
    141141  switch (_type) {
    142142  case crdX:
    143     if (tLC == t_lc::GIM) {return 0.0;}
     143    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    144144    return (sta->xyzApr()[0] - obs->xc()[0]) / rhoV.NormFrobenius();
    145145  case crdY:
    146     if (tLC == t_lc::GIM) {return 0.0;}
     146    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    147147    return (sta->xyzApr()[1] - obs->xc()[1]) / rhoV.NormFrobenius();
    148148  case crdZ:
    149     if (tLC == t_lc::GIM) {return 0.0;}
     149    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    150150    return (sta->xyzApr()[2] - obs->xc()[2]) / rhoV.NormFrobenius();
    151151  case clkR:
    152     if (tLC == t_lc::GIM) {return 0.0;}
     152    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    153153    return 1.0;
    154154  case offGG:
    155     if (tLC == t_lc::GIM) {return 0.0;}
     155    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    156156    return (obs->prn().system() == 'R') ? 1.0 : 0.0;
    157157  case amb:
    158     if      (tLC == t_lc::GIM) {return 0.0;}
     158    if      (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    159159    else if ((OPT->_obsModelType == OPT->IF)     ||
    160160             (OPT->_obsModelType == OPT->PPPRTK) ||
     
    181181    break;
    182182  case trp:
    183     if (tLC == t_lc::GIM) {return 0.0;}
    184     return  1.0 / sin(obs->eleSat());
     183    if      (tLC == t_lc::GIM) {
     184      return 0.0;
     185    }
     186    else if (tLC == t_lc::Tz0) {
     187      return 1.0;
     188    }
     189    else {
     190      return 1.0 / sin(obs->eleSat());
     191    }
    185192  case ion:
    186 
    187193    if (obs->prn() == _prn) {
    188194      if      (tLC == t_lc::c1) {
     
    203209    }
    204210    if (tLC == t_lc::GIM && _prn == refPrn) {
    205       return  1.0;
     211      return 1.0;
    206212    }
    207213    break;
    208214  case cBias1:
    209215    if  (tLC == t_lc::c1) {
    210       return  1.0;
     216      return 1.0;
    211217    }
    212218    else {
     
    216222  case cBias2:
    217223     if (tLC == t_lc::c2) {
    218       return  1.0;
     224      return 1.0;
    219225    }
    220226    else {
     
    224230  case pBias1:
    225231    if  (tLC == t_lc::l1) {
    226       return  1.0;
     232      return 1.0;
    227233    }
    228234    else {
     
    232238  case pBias2:
    233239    if  (tLC == t_lc::l2) {
    234       return  1.0;
     240      return 1.0;
    235241    }
    236242    else {
Note: See TracChangeset for help on using the changeset viewer.