Ignore:
Timestamp:
Jun 28, 2018, 12:53:59 PM (3 years ago)
Author:
stuerze
Message:

some changes to allow RINEX file generation with correct version 3 file names, 10 Hz observation data processing and resampling (RINEX files, feed engine) and harmonization of all avalable sampling cases (RINEX files, feed engine, reqc edit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/rinex/reqcedit.cpp

    r8373 r8398  
    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().toAscii().data());
    7373  _endTime        = bncTime(settings.value("reqcEndDateTime").toString().toAscii().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() << ' '
     
    337337
    338338        int sec = int(nint(epo->tt.gpssec()*10));
    339         if (_samplingRate == 0 || sec % (_samplingRate*10) == 0) {
     339        if (sec % (int(_samplingRate)*10) == 0) {
    340340          applyLLI(obsFile, epo);
    341341          outObsFile.writeEpoch(epo);
Note: See TracChangeset for help on using the changeset viewer.