Changeset 8397 in ntrip for trunk/BNC/src/rinex/reqcedit.cpp


Ignore:
Timestamp:
Jun 28, 2018, 12:47:06 PM (6 years ago)
Author:
stuerze
Message:

some changes to allow 10 Hz observation data generation with correct file names and observation data resampling (RINEX files, feed engine) and harmonization of all 3 applications

File:
1 edited

Legend:

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

    r8372 r8397  
    6969    _rnxVersion = defaultRnxObsVersion3;
    7070  }
    71   _samplingRate   = settings.value("reqcSampling").toInt();
     71  _samplingRate   = settings.value("reqcSampling").toString().split("sec").first().toDouble();
    7272  _begTime        = bncTime(settings.value("reqcStartDateTime").toString().toLatin1().data());
    7373  _endTime        = bncTime(settings.value("reqcEndDateTime").toString().toLatin1().data());
     
    118118          << _rnxVersion << endl;
    119119    *_log << QByteArray("Sampling").leftJustified(15) << ": "
    120           << _samplingRate << endl;
     120          << _samplingRate << " sec" << endl;
    121121    *_log << QByteArray("Start time").leftJustified(15) << ": "
    122122          << _begTime.datestr().c_str() << ' '
     
    338338
    339339        int sec = int(nint(epo->tt.gpssec()*10));
    340         if (_samplingRate == 0 || sec % (_samplingRate*10) == 0) {
     340        if (sec % (int(_samplingRate)*10) == 0) {
    341341          applyLLI(obsFile, epo);
    342342          outObsFile.writeEpoch(epo);
Note: See TracChangeset for help on using the changeset viewer.