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


Ignore:
Timestamp:
Mar 26, 2024, 1:21:58 PM (8 weeks ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r10384 r10411  
    3333using namespace std;
    3434
    35 const double   GLO_WEIGHT_FACTOR = 5.0;
    36 const double   BDS_WEIGHT_FACTOR = 1.0;
    3735
    3836// Constructor
     
    354352  retVal = sqrt(retVal);
    355353
    356   // De-Weight R+C
    357   // -------------
     354  // De-Weight R
     355  // -----------
    358356  if (_prn.system() == 'R') {
    359     retVal *= GLO_WEIGHT_FACTOR;
    360   }
    361   if (_prn.system() == 'C') {
    362     retVal *= BDS_WEIGHT_FACTOR;
    363   }
     357    retVal *= 5.0;
     358  }
     359
    364360
    365361  // Elevation-Dependent Weighting
     
    398394
    399395  retVal = sqrt(retVal);
     396
     397  // Enlarge maxRes GLO
     398  // ------------------
     399  if (_prn.system() == 'R' && t_lc::includesCode(tLC)) {
     400    retVal *= 2.0;
     401  }
    400402
    401403  return retVal;
Note: See TracChangeset for help on using the changeset viewer.