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


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

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

Legend:

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

    r8368 r8397  
    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
  • 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);
  • trunk/BNC/src/rinex/reqcedit.h

    r7474 r8397  
    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.