Changeset 9418 in ntrip for trunk/BNC/src/bncoutf.cpp


Ignore:
Timestamp:
Apr 26, 2021, 10:27:59 AM (3 years ago)
Author:
stuerze
Message:
 
File:
1 edited

Legend:

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

    r9158 r9418  
    151151  QString baseName = _sklBaseName;
    152152  baseName.replace("${GPSWD}", gpswd);
    153   baseName.replace("${V3}" , QString("_U_%1%2").arg(yyyy).arg(doy));
    154   if (_extension.count(".") == 2) {_extension.replace(0,1,"_"); }
    155 
    156   return _path + baseName + epoStr + _extension;
     153  baseName.replace("${V3OBS}" , QString("_U_%1%2").arg(yyyy).arg(doy));
     154  baseName.replace("${V3PROD}", QString("_%1%2").arg(yyyy).arg(doy));
     155  QString addition = "";
     156    if (_extension.contains("sp3") || _extension.contains("SP3")) {
     157      addition = QString("_ORB");
     158    }
     159    if (_extension.contains("clk") || _extension.contains("CLK")) {
     160      addition = QString("_CLK");
     161    }
     162  if (_extension.count(".") == 2) {
     163    _extension.replace(0,1,"_");
     164  }
     165
     166  return _path + baseName + epoStr + addition + _extension;
    157167}
    158168
Note: See TracChangeset for help on using the changeset viewer.