Changeset 9556 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp
- Timestamp:
- Nov 30, 2021, 1:09:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r9554 r9556 348 348 retVal = sqrt(retVal); 349 349 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; 351 361 } 352 362
Note:
See TracChangeset
for help on using the changeset viewer.