Changeset 6587 in ntrip


Ignore:
Timestamp:
Feb 15, 2015, 12:03:59 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6586 r6587  
    10511051
    10521052  for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) {
    1053     const t_rnxSat& rnxSat = epo->rnxSat[iSat];
    1054     char            sys    = rnxSat.prn.system();
    1055 
    1056     *stream << rnxSat.prn.toString().c_str();
     1053    const t_rnxSat& rnxSat   = epo->rnxSat[iSat];
     1054    char            sys      = rnxSat.prn.system();
     1055    bool            sysFound = false;
    10571056
    10581057    const t_rnxObs* hlp[header.nTypes(sys)];
     
    10701069        if (typeV3 == type2to3(sys, type) && rnxObs.value != 0.0) {
    10711070          hlp[iTypeV3] = &itObs.value();
     1071          sysFound     = true;
    10721072        }
    10731073      }
     
    10821082        if (hlp[iTypeV3] == 0 && typeV3 == type2to3(sys, type).left(2) && rnxObs.value != 0.0) {
    10831083          hlp[iTypeV3] = &itObs.value();
    1084         }
    1085       }
    1086     }
     1084          sysFound     = true;
     1085        }
     1086      }
     1087    }
     1088
     1089    if (!sysFound) {
     1090      continue;
     1091    }
     1092
     1093    *stream << rnxSat.prn.toString().c_str();
    10871094
    10881095    for (int iTypeV3 = 0; iTypeV3 < header.nTypes(sys); iTypeV3++) {
Note: See TracChangeset for help on using the changeset viewer.