Ignore:
Timestamp:
Sep 20, 2019, 2:50:50 PM (5 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/rinex/rnxobsfile.h

    r8639 r8802  
    123123    t_prn                   prn;
    124124    QMap<QString, t_rnxObs> obs;
     125    static bool prnSort(const t_rnxSat rnxSat1, const t_rnxSat rnxSat2) {return rnxSat1.prn < rnxSat2.prn;}   
    125126  };
    126127
     
    220221        if (header.version() < 3.0) { // exclude new GNSS such as BDS, QZSS, IRNSS, etc.
    221222            if (rnxSat.prn.system() != 'G' && rnxSat.prn.system() != 'R' &&
    222                 rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S') {
     223                rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S' &&
     224                rnxSat.prn.system() != 'I') {
    223225              continue;
    224226            }
     
    227229      }
    228230    }
     231    std::stable_sort(epoLocal.rnxSat.begin(), epoLocal.rnxSat.end(), t_rnxSat::prnSort);   
     232   
    229233    if (header.version() >= 3.0) {
    230234      writeEpochV3(stream, header, &epoLocal);
Note: See TracChangeset for help on using the changeset viewer.