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


Ignore:
Timestamp:
Nov 9, 2021, 1:12:39 PM (2 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r9497 r9537  
    315315  retVal = sqrt(retVal);
    316316
     317  // De-Weight GLONASS
     318  // -----------------
     319  if (_prn.system() == 'R' && (t_lc::includesCode(tLC) ||  t_lc::includesPhase(tLC))) {
     320    retVal *= 5.0;
     321  }
     322
     323  // De-Weight BDS
     324  // -------------
     325  if (_prn.system() == 'C' && (t_lc::includesCode(tLC) ||  t_lc::includesPhase(tLC))) {
     326    retVal *= 2.0;
     327  }
     328
    317329  // Elevation-Dependent Weighting
    318330  // -----------------------------
     
    353365
    354366  retVal = sqrt(retVal);
     367
     368  // De-Weight GLONASS
     369  // -----------------
     370  if (_prn.system() == 'R' && (t_lc::includesCode(tLC) ||  t_lc::includesPhase(tLC))) {
     371    retVal *= 2.0;
     372  }
     373
     374  // De-Weight BDS
     375  // -------------
     376  if (_prn.system() == 'C' && (t_lc::includesCode(tLC) ||  t_lc::includesPhase(tLC))) {
     377    retVal *= 2.0;
     378  }
     379
    355380
    356381  return retVal;
Note: See TracChangeset for help on using the changeset viewer.