Changeset 10577 in ntrip for trunk/BNC/src/rinex


Ignore:
Timestamp:
Nov 8, 2024, 2:13:26 PM (3 weeks ago)
Author:
stuerze
Message:

updates regarding RINEX version 4.02 navigation information

Location:
trunk/BNC/src/rinex
Files:
3 edited

Legend:

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

    r10561 r10577  
    10191019            *_log  << "                     "
    10201020                << navFi.fileName() << ' ' << QString(": WRONG %2:%3\n")
    1021                            .arg(eph->navTypeString(eph->navType(), eph->prn(), 99.0))
     1021                           .arg(eph->ephTypeStr(eph->ephType(), eph->prn(), 99.0))
    10221022                           .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 99.0)).toLatin1();
    10231023          }
  • trunk/BNC/src/rinex/reqcedit.cpp

    r10561 r10577  
    704704
    705705    if (outNavFile.version() < 4.0) {
    706       if (eph->navType() == t_eph::CNAV ||
    707           eph->navType() == t_eph::CNV1 ||
    708           eph->navType() == t_eph::CNV2 ||
    709           eph->navType() == t_eph::CNV3) {
     706      if (eph->ephType() == t_eph::CNAV ||
     707          eph->ephType() == t_eph::CNV1 ||
     708          eph->ephType() == t_eph::CNV2 ||
     709          eph->ephType() == t_eph::CNV3) {
    710710        continue;
    711711      }
     
    713713
    714714    if (outNavFile.version() >= 4.0 &&
    715         eph->navType() == t_eph::undefined) { // input files < version 4.0
     715        eph->ephType() == t_eph::undefined) { // input files < version 4.0
    716716      continue;
    717717    }
  • trunk/BNC/src/rinex/rnxnavfile.cpp

    r10574 r10577  
    149149////////////////////////////////////////////////////////////////////////////
    150150void t_rnxNavFile::read(QTextStream* stream) {
    151   QString navType;
     151  QString ephType;
    152152
    153153  while (stream->status() == QTextStream::Ok && !stream->atEnd()) {
     
    171171      prn = hlp.at(2);
    172172      sys = prn[0].toLatin1();
    173       navType = hlp.at(3);
     173      ephType = hlp.at(3);
    174174
    175175      // ALL Non-EPH messages are currently ignored
     
    194194                 sys == 'J' || sys == 'I') {
    195195          lines2skip = 3;
    196           if (sys == 'I' && navType == "L1NV" || // I: KLOB, NEQN
    197               sys == 'J' && navType == "CNVX") { // J: WIDE, JAPN
     196          if ((sys == 'I' && ephType == "L1NV") || // I: KLOB, NEQN
     197              (sys == 'J' && ephType == "CNVX")) { // J: WIDE, JAPN
    198198            navSubType = hlp.at(4);
    199199            if      (navSubType == "KLOB") {
     
    273273
    274274    if (version() >= 4.0 && key == "EPH") {
    275       if (eph->setNavType(navType) != success) {
     275      if (eph->setEphType(ephType) != success) {
    276276        delete eph;
    277277        continue;
Note: See TracChangeset for help on using the changeset viewer.