Changeset 11087 in ntrip for trunk/BNC/src/bncwindow.cpp


Ignore:
Timestamp:
Oct 16, 2026, 10:19:51 AM (6 hours ago)
Author:
stuerze
Message:

Bias check is added in ssrQC, refernce signals are configurable now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r11081 r11087  
    301301  _ssrQcRefLineEdit = new QLineEdit(settings.value("ssrQcRef").toString().isEmpty() ? QString("CONSENSUS") : settings.value("ssrQcRef").toString());
    302302  _ssrQcStreamsLineEdit = new QLineEdit(settings.value("ssrQcStreams").toString().isEmpty() ? QString("ALL") : settings.value("ssrQcStreams").toString());
     303  _ssrQcBiasFileChooser = new qtFileChooser(0, qtFileChooser::File);
     304  _ssrQcBiasFileChooser->setFileName(settings.value("ssrQcBiasFile").toString());
    303305  _ssrQcIntrComboBox = new QComboBox();
    304306  _ssrQcIntrComboBox->setEditable(false);
    … …  
    571573  _cmbBsxFile = new qtFileChooser(0, qtFileChooser::File);
    572574  _cmbBsxFile->setFileName(settings.value("cmbBsxFile").toString());
     575
     576  _cmbRefSigLineEdit = new QLineEdit(settings.value("ssrRefSignals").toString());
     577  _cmbRefSigLineEdit->setPlaceholderText("default");
    573578
    574579  // Upload Results
    … …  
    926931  cLayout->addWidget(new QLabel("QC Interval"), 7, 0);
    927932  cLayout->addWidget(_ssrQcIntrComboBox, 7, 1);
    928   cLayout->addWidget(new QLabel(""), 8, 1);
    929   cLayout->setRowStretch(7, 999);
     933  cLayout->addWidget(new QLabel("QC Bias File"), 8, 0);
     934  cLayout->addWidget(_ssrQcBiasFileChooser, 8, 1, 1, 30);
     935  cLayout->addWidget(new QLabel(""), 9, 1);
     936  cLayout->setRowStretch(8, 999);
    930937  cgroup->setLayout(cLayout);
    931938
    … …  
    14181425  cmbLayout->addWidget(new QLabel("Sampling"), 7, 10, Qt::AlignLeft);
    14191426  cmbLayout->addWidget(_cmbSamplComboBox, 7, 11, Qt::AlignRight);
     1427  cmbLayout->addWidget(new QLabel("Reference signals"), 8, 10, Qt::AlignLeft);
     1428  cmbLayout->addWidget(_cmbRefSigLineEdit, 8, 11, 1, 5);
    14201429
    14211430
    14221431  cmbLayout->addWidget(new QLabel("GNSS"), 0, 14, Qt::AlignLeft);
    1423   cmbLayout->addWidget(new QLabel("GPS (C1W/C2W)"), 1, 14);
     1432  cmbLayout->addWidget(new QLabel("GPS"), 1, 14);
    14241433  cmbLayout->addWidget(_cmbGpsCheckBox, 1, 15);
    14251434
    1426   cmbLayout->addWidget(new QLabel("GLONASS (C1P/C2P)"), 2, 14);
     1435  cmbLayout->addWidget(new QLabel("GLONASS"), 2, 14);
    14271436  cmbLayout->addWidget(_cmbGloCheckBox, 2, 15);
    14281437
    1429   cmbLayout->addWidget(new QLabel("Galileo (C1C/C5Q)"), 3, 14);
     1438  cmbLayout->addWidget(new QLabel("Galileo"), 3, 14);
    14301439  cmbLayout->addWidget(_cmbGalCheckBox, 3, 15);
    14311440
    1432   cmbLayout->addWidget(new QLabel("Beidou (C2I/C6I)"), 4, 14);
     1441  cmbLayout->addWidget(new QLabel("Beidou"), 4, 14);
    14331442  cmbLayout->addWidget(_cmbBdsCheckBox, 4, 15);
    14341443
    1435   cmbLayout->addWidget(new QLabel("QZSS (C1C/C2L)"), 5, 14);
     1444  cmbLayout->addWidget(new QLabel("QZSS"), 5, 14);
    14361445  cmbLayout->addWidget(_cmbQzssCheckBox, 5, 15);
    14371446
    1438   cmbLayout->addWidget(new QLabel("SBAS (C1C/C5Q)"), 6, 14);
     1447  cmbLayout->addWidget(new QLabel("SBAS"), 6, 14);
    14391448  cmbLayout->addWidget(_cmbSbasCheckBox, 6, 15);
    14401449
    … …  
    15971606  _ssrQcRefLineEdit->setWhatsThis(tr("<p>Specify the reference for the comparison of the orbits and clocks of the checked streams: 'CONSENSUS' for the median of all other streams, or the name of a stream, e.g. 'INTERNAL' for the combination.</p><p>Default is 'CONSENSUS'. <i>[key: ssrQcRef]</i></p>"));
    15981607  _ssrQcStreamsLineEdit->setWhatsThis(tr("<p>Specify the Broadcast Correction streams to be checked, as a comma separated list of stream names (e.g. SSRA00CNE1,SSRA00GMV0), or 'ALL' for all decoded streams. A stream with a leading '!' is excluded from the QC and from the consensus, e.g. 'ALL,!SIRGAS200001' for streams in another reference frame.</p><p>Default is 'ALL'. <i>[key: ssrQcStreams]</i></p>"));
     1608  _ssrQcBiasFileChooser->setWhatsThis(tr("<p>Specify a Bias SINEX file (OSB or DSB, e.g. a CAS DCB or a GFZ OSB product) as reference for the code bias check of the SSR QC: the DCBs of each stream are compared with the DCBs of this file, in addition to the comparison with the other ACs. A sign opposite to the reference for most DCBs indicates a stream using the SINEX instead of the SSR sign convention.</p><p>Default is an empty option field, meaning the code biases are compared with the other ACs only. <i>[key: ssrQcBiasFile]</i></p>"));
    15991609  _ssrQcIntrComboBox->setWhatsThis(tr("<p>Select the interval of the SSR QC reports. <i>[key: ssrQcIntr]</i></p>"));
    16001610  _corrPortLineEdit->setWhatsThis(tr("<p>BNC can produce Broadcast Ephemeris Corrections on your local host through an IP port.</p><p>Specify a port number here to activate this function. <i>[key: corrPort]</i></p>"));
    … …  
    17451755  _cmbSbasCheckBox->setWhatsThis(tr("<p>SBAS clock corrections shall be combined; SBAS Broadcast ephemeris and corrections are required. <i>[key: cmbSbas]</i></p>"));
    17461756  _cmbNavicCheckBox->setWhatsThis(tr("<p>NavIC clock corrections shall be combined; NavIC Broadcast ephemeris and corrections are required. <i>[key: cmbNavic]</i></p>"));
     1757  _cmbRefSigLineEdit->setWhatsThis(tr("<p>Specify the reference signals of the satellite clocks per GNSS: the clocks refer to the ionosphere-free combination of the code signals of these two signals. They are used by the combination to refer the AC clocks with their code biases and to derive the code biases from a Bias SINEX file, and by the SSR QC.</p><p>Systems not specified keep the default 'G:1W&2W R:1P&2P E:1C&5Q C:2I&6I J:1C&2L S:1C&5Q' (IGS conventions). Example: 'C:1P&5P J:1C&5Q'.</p><p>Default is an empty option field, meaning the default reference signals. <i>[key: ssrRefSignals]</i></p>"));
    17471758  _cmbBsxFile->setWhatsThis(tr("<p> Specify a Bias SINEX File that will be used to add satellite code biases to the combined clocks. <i>[key: cmbBsxFile]</i></p>"));
    17481759
    … …  
    18751886  delete _ssrQcRefLineEdit;
    18761887  delete _ssrQcIntrComboBox;
     1888  delete _ssrQcBiasFileChooser;
    18771889  delete _corrPortLineEdit;
    18781890  delete _outPortLineEdit;
    … …  
    19181930  delete _cmbNavicCheckBox;
    19191931  delete _cmbBsxFile;
     1932  delete _cmbRefSigLineEdit;
    19201933  delete _uploadSamplRtcmEphCorrComboBox;
    19211934  _uploadEphTable->deleteLater();
    … …  
    24052418  settings.setValue("ssrQcRef", _ssrQcRefLineEdit->text());
    24062419  settings.setValue("ssrQcIntr", _ssrQcIntrComboBox->currentText());
     2420  settings.setValue("ssrQcBiasFile", _ssrQcBiasFileChooser->fileName());
    24072421  settings.setValue("corrPort", _corrPortLineEdit->text());
    24082422  // Feed Engine
    … …  
    24712485  settings.setValue("cmbNavic", _cmbNavicCheckBox->checkState());
    24722486  settings.setValue("cmbBsxFile", _cmbBsxFile->fileName());
     2487  settings.setValue("ssrRefSignals", _cmbRefSigLineEdit->text());
    24732488
    24742489  // Upload Corrections
    … …  
    29432958    enableWidget(!_ssrQcPathLineEdit->text().isEmpty(), _ssrQcStreamsLineEdit);
    29442959    enableWidget(!_ssrQcPathLineEdit->text().isEmpty(), _ssrQcRefLineEdit);
     2960    enableWidget(!_ssrQcPathLineEdit->text().isEmpty(), _ssrQcBiasFileChooser);
    29452961  }
    29462962
Note: See TracChangeset for help on using the changeset viewer.