Changeset 9561 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp
- Timestamp:
- Dec 3, 2021, 12:22:40 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r9560 r9561 353 353 retVal = sqrt(retVal); 354 354 355 // Elevation-Dependent Weighting 356 // ----------------------------- 357 double cEle = 1.0; 358 if ( (OPT->_eleWgtCode && t_lc::includesCode(tLC)) || 359 (OPT->_eleWgtPhase && t_lc::includesPhase(tLC)) ) { 360 double eleD = eleSat()*180.0/M_PI; 361 double hlp = fabs(90.0 - eleD); 362 cEle = (1.0 + hlp*hlp*hlp*0.000004); 363 } 364 365 return cEle * retVal; 355 return retVal; 366 356 } 367 357
Note:
See TracChangeset
for help on using the changeset viewer.