Changeset 5141 in ntrip for trunk


Ignore:
Timestamp:
May 7, 2013, 4:25:52 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r5140 r5141  
    465465  t_allObs& allObs = _allObsMap[prn];
    466466
     467  bncSettings settings;
     468  QString reqSkyPlotSystems = settings.value("reqcSkyPlotSystems").toString();
     469  bool plotGPS = false;
     470  bool plotGlo = false;
     471  bool plotGal = false;
     472  if      (reqSkyPlotSystems == "GPS") {
     473    plotGPS = true;
     474  }
     475  else if (reqSkyPlotSystems == "GLONASS") {
     476    plotGlo = true;
     477  }
     478  else if (reqSkyPlotSystems == "Galileo") {
     479    plotGal = true;
     480  }
     481  else {
     482    plotGPS = true;
     483    plotGlo = true;
     484    plotGal = true;
     485  }
     486
    467487  // Loop over all Chunks of Data
    468488  // ----------------------------
     
    588608    // Compute the Multipath
    589609    // ---------------------
    590     if (prn[0] != 'R' || slotSet) {
     610    if ( (prn[0] == 'G' && plotGPS           ) ||
     611         (prn[0] == 'R' && plotGlo && slotSet) ||
     612         (prn[0] == 'E' && plotGal           ) ) {
    591613      bool slipMP = false;
    592614      meanMP1 /= numEpo;
     
    657679    // Signal-to-Noise Ration Plot Data
    658680    // --------------------------------
    659     (*dataSNR1) << (new t_polarPoint(aziDeg, zenDeg, minSNR1));
    660     (*dataSNR2) << (new t_polarPoint(aziDeg, zenDeg, minSNR2));
     681    if ( (prn[0] == 'G' && plotGPS           ) ||
     682         (prn[0] == 'R' && plotGlo && slotSet) ||
     683         (prn[0] == 'E' && plotGal           ) ) {
     684      (*dataSNR1) << (new t_polarPoint(aziDeg, zenDeg, minSNR1));
     685      (*dataSNR2) << (new t_polarPoint(aziDeg, zenDeg, minSNR2));
     686    }
    661687  }
    662688}
Note: See TracChangeset for help on using the changeset viewer.