Changeset 10083 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Jun 1, 2023, 12:32:45 PM (18 months ago)
Author:
stuerze
Message:

blq filename is added in sinex tro header

File:
1 edited

Legend:

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

    r9889 r10083  
    123123  _out << " OUTPUT             " << "Total Troposphere Zenith Path Delay Product" << endl;
    124124  _out << " SOFTWARE           " <<  BNCPGMNAME <<  endl;
    125   _out << " INPUT              " << "Observations_: " << _opt->_roverName.substr(0,9)
     125  _out << " INPUT              " << "Observations: " << _opt->_roverName.substr(0,9)
    126126                                 << ", SSR corrections: "  << corr.toStdString() << endl;
    127127  _out << "-FILE/REFERENCE" << endl << endl;
     
    255255  _out << "-TROP/COORDINATES"<< endl << endl;
    256256
     257  QString blqFileName = QString::fromStdString(_opt->_blqFileName);
     258  QString blqFileBaseName;
     259  QString blqFileExtension;
     260  if (! blqFileName.isEmpty()) {
     261    QFileInfo fileInfo(blqFileName);
     262    blqFileBaseName  = fileInfo.baseName();
     263    blqFileExtension = fileInfo.completeSuffix();
     264    if (!blqFileExtension.isEmpty()) {
     265      blqFileExtension = "." + blqFileExtension;
     266    }
     267  }
    257268  _out << "+TROP/DESCRIPTION" << endl;
    258269  _out << "*KEYWORD______________________ VALUE(S)______________" << endl;
     
    263274  _out << " ELEVATION CUTOFF ANGLE                          "
    264275       << setw(4) <<  int(_opt->_minEle * 180.0/M_PI) << endl;
     276  _out << " OCEAN TIDE LOADING MODEL      " << blqFileBaseName.toStdString() + blqFileExtension.toStdString() << endl;
    265277  _out << " TROP MAPPING FUNCTION         " << "Saastamoinen" << endl;
    266278  _out << " SOLUTION_FIELDS_1             " << "TROTOT STDEV" << endl;
Note: See TracChangeset for help on using the changeset viewer.