Changeset 4562 in ntrip
- Timestamp:
- Aug 28, 2012, 1:16:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4559 r4562 296 296 double S1 = obs.measdata("S1", 3.0); 297 297 if (S1 != 0.0) { 298 newObs->_SNR1 = S1; 298 newObs->_SNR1 = floor(S1/6); 299 if (newObs->_SNR1 > 9.0) { 300 newObs->_SNR1 = 9.0; 301 } 302 if (newObs->_SNR1 < 1.0) { 303 newObs->_SNR1 = 1.0; 304 } 299 305 okFlag = true; 306 } 307 else { 308 if (obs.snrL1 > 0) { 309 newObs->_SNR1 = obs.snrL1; 310 okFlag = true; 311 } 300 312 } 301 313 double S2 = obs.measdata("S2", 3.0); 302 314 if (S2 != 0.0) { 303 newObs->_SNR2 = S2; 315 newObs->_SNR2 = floor(S2/6); 316 if (newObs->_SNR2 > 9.0) { 317 newObs->_SNR2 = 9.0; 318 } 319 if (newObs->_SNR2 < 1.0) { 320 newObs->_SNR2 = 1.0; 321 } 304 322 okFlag = true; 323 } 324 else { 325 if (obs.snrL2 > 0) { 326 newObs->_SNR2 = obs.snrL2; 327 okFlag = true; 328 } 305 329 } 306 330
Note:
See TracChangeset
for help on using the changeset viewer.