Changeset 8398 in ntrip for branches/BNC_2.12/src/rinex


Ignore:
Timestamp:
Jun 28, 2018, 12:53:59 PM (6 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)

Location:
branches/BNC_2.12/src/rinex
Files:
3 edited

Legend:

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

    r8370 r8398  
    819819        << "End Time           : " << _qcFile._endTime.datestr().c_str()           << ' '
    820820                                   << _qcFile._endTime.timestr(1,'.').c_str()      << endl
    821         << "Interval           : " << _qcFile._interval                            << endl;
     821        << "Interval           : " << _qcFile._interval << " sec"                  << endl;
    822822
    823823  // Number of systems
  • 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);
  • branches/BNC_2.12/src/rinex/reqcedit.h

    r7474 r8398  
    7171  QString                _outNavFileName;
    7272  double                 _rnxVersion;
    73   int                    _samplingRate;
     73  double                 _samplingRate;
    7474  bncTime                _begTime;
    7575  bncTime                _endTime;
Note: See TracChangeset for help on using the changeset viewer.