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


Ignore:
Timestamp:
Oct 28, 2026, 4:23:04 PM (9 days ago)
Author:
stuerze
Message:

Added:
EPH RINEX files can be written now per station like observation files and in PPP mode the Broadcast stream can be specified

File:
1 edited

Legend:

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

    r11129 r11136  
    278278    _ephVersComboBox->setCurrentIndex(jk);
    279279  }
    280   //_ephFilePerStation = new QCheckBox();
    281   //_ephFilePerStation->setCheckState(Qt::CheckState(settings.value("ephFilePerStation").toInt()));
     280  _ephFilePerStation = new QCheckBox();
     281  _ephFilePerStation->setCheckState(Qt::CheckState(settings.value("ephFilePerStation").toInt()));
    282282
    283283  connect(_ephOutPortLineEdit, SIGNAL(textChanged(const QString&)),
    … …  
    902902  eLayout->addWidget(new QLabel("Version"), 4, 0);
    903903  eLayout->addWidget(_ephVersComboBox, 4, 1);
    904   eLayout->setRowStretch(5, 999);
    905   //eLayout->addWidget(new QLabel("File per Station"),              5, 0);
    906   //eLayout->addWidget(_ephFilePerStation,                          5, 1);
    907   //eLayout->setRowStretch(6, 999);
     904  eLayout->addWidget(new QLabel("File per stream"), 5, 0);
     905  eLayout->addWidget(_ephFilePerStation, 5, 1);
     906  eLayout->setRowStretch(6, 999);
    908907
    909908  egroup->setLayout(eLayout);
    … …  
    10661065  _pppWidgets._snxtroCampId->setMaximumWidth(7 * ww);
    10671066  _pppWidgets._ionoMount->setMaximumWidth(15 * ww);
     1067  _pppWidgets._ephMount->setMaximumWidth(15 * ww);
    10681068
    10691069
    … …  
    11001100  pppLayout1->addWidget(new QLabel("   SNX TRO sampling"), ir, 6);
    11011101  pppLayout1->addWidget(_pppWidgets._snxtroSampl, ir, 7, Qt::AlignRight);
     1102  ++ir;
     1103  pppLayout1->addWidget(new QLabel("Ephemeris stream"), ir, 0);
     1104  pppLayout1->addWidget(_pppWidgets._ephMount, ir, 1);
    11021105  ++ir;
    11031106  pppLayout1->addWidget(new QLabel("RINEX Obs file"), ir, 0);
    … …  
    15801583  _ephOutPortLineEdit->setWhatsThis(tr("<p>BNC can produce ephemeris data in RINEX Navigation ASCII format on your local host through an IP port.</p><p>Specify a port number here to activate this function. <i>[key: ephOutPort]</i></p>"));
    15811584  _ephVersComboBox->setWhatsThis(tr("<p>Select the format for RINEX Navigation files. <i>[key: ephVersion]</i></p>"));
    1582   //_ephFilePerStation->setWhatsThis(tr("<p>By default, all received Broadcast Ephemeris data will be stored within one File. Thick 'File per Stations' to get separate files per station/mountpoint. <i>[key: ephFilePerStation]</i></p>"));
     1585  _ephFilePerStation->setWhatsThis(tr("<p>By default, the Broadcast Ephemeris of all streams are saved in one RINEX Navigation file, each ephemeris once, from the stream which first provided it.</p><p>Tick 'File per stream' to save one file per stream instead, named after the stream like the RINEX Observation files (e.g. BCEP00BKG_S_... for stream BCEP00BKG0). Each file then contains all ephemerides received from its stream. The output through the IP port is not affected. <i>[key: ephFilePerStation]</i></p>"));
    15831586
    15841587  // WhatsThis, RINEX Editing & QC
    … …  
    16621665  _pppWidgets._biasMount->setWhatsThis(tr("<p>Specify a 'mountpoint' from the 'Streams' canvas below which provides satellite biases in SSR format.</p><p>If you don't specify a corrections stream via this option, BNC will use satellite biases from the Corrections stream 'mountpoint', if available. <i>[key: PPP/biasMount]</i></p>"));
    16631666  _pppWidgets._ionoMount->setWhatsThis(tr("<p>Specify a 'mountpoint' from the 'Streams' canvas below which provides VTEC informations in SSR format.</p><p>If you don't specify a corrections stream via this option, BNC will use VTEC informations from the Corrections stream 'mountpoint', if available. <i>[key: PPP/ionoMount]</i></p>"));
     1667  _pppWidgets._ephMount->setWhatsThis(tr("<p>Specify a 'mountpoint' from the 'Streams' canvas below which provides the Broadcast Ephemeris for PPP, e.g. 'BCEP00BKG0'. Several mountpoints can be given, separated by comma.</p><p>Ephemerides of all other streams, also those contained in the observation streams, are then not used in PPP. If you don't specify an ephemeris stream via this option, BNC will use the Broadcast Ephemeris of all streams. <i>[key: PPP/ephMount]</i></p>"));
    16641668  _pppWidgets._corrFile->setWhatsThis(tr("<p>Specify the Broadcast Ephemeris Corrections file as saved beforehand using BNC.</p><p>If you don't specify corrections by this option, BNC will fall back to Single Point Positioning (SPP, positioning from RINEX Obs and RINEX Nav files only) instead of doing PPP. <i>[key: PPP/corrFile]</i></p>"));
    16651669  _pppWidgets._biasFile->setWhatsThis(tr("<p>Specify the satellite bias file as saved beforehand using BNC.</p><p>If you don't specify corrections by this option, BNC will use satellite biases from the Corrections file, if available. <i>[key: PPP/biasFile]</i></p>"));
    … …  
    18811885  delete _rnxV2Priority;
    18821886  delete _ephPathLineEdit;
    1883   //delete _ephFilePerStation;
     1887  delete _ephFilePerStation;
    18841888  delete _ephIntrComboBox;
    18851889  delete _ephOutPortLineEdit;
    … …  
    24162420  settings.setValue("ephOutPort", _ephOutPortLineEdit->text());
    24172421  settings.setValue("ephVersion", _ephVersComboBox->currentText());
    2418   //settings.setValue("ephFilePerStation", _ephFilePerStation->checkState());
     2422  settings.setValue("ephFilePerStation", _ephFilePerStation->checkState());
    24192423  // Broadcast Corrections
    24202424  settings.setValue("corrPath", _corrPathLineEdit->text());
    … …  
    29512955    enableWidget(enable, _ephIntrComboBox);
    29522956    enableWidget(enable, _ephVersComboBox);
    2953     //enableWidget(enable, _ephVersComboBox);
    2954     //enableWidget(enable, _ephFilePerStation);
     2957    enableWidget(!_ephPathLineEdit->text().isEmpty(), _ephFilePerStation);
    29552958  }
    29562959
Note: See TracChangeset for help on using the changeset viewer.