Changeset 9556 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp


Ignore:
Timestamp:
Nov 30, 2021, 1:09:49 PM (2 years ago)
Author:
stuerze
Message:

update regarding PPP

File:
1 edited

Legend:

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

    r9554 r9556  
    348348  retVal = sqrt(retVal);
    349349
    350   return retVal;
     350  // Elevation-Dependent Weighting
     351  // -----------------------------
     352  double cEle = 1.0;
     353  if ( (OPT->_eleWgtCode  && t_lc::includesCode(tLC)) ||
     354       (OPT->_eleWgtPhase && t_lc::includesPhase(tLC)) ) {
     355    double eleD = eleSat()*180.0/M_PI;
     356    double hlp  = fabs(90.0 - eleD);
     357    cEle = (1.0 + hlp*hlp*hlp*0.000004);
     358  }
     359
     360  return cEle * retVal;
    351361}
    352362
Note: See TracChangeset for help on using the changeset viewer.