Changeset 8351 in ntrip for branches/BNC_2.12/src/bnccore.cpp


Ignore:
Timestamp:
May 18, 2018, 9:56:20 AM (6 years ago)
Author:
stuerze
Message:

individual satellite system will be considerred now during concatenation of ephemeris files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bnccore.cpp

    r8286 r8351  
    305305    QString ephFileNameGPS = _ephPath + "BRDC";
    306306
    307     bool ephV3filenames = settings.value("ephV3filenames").toBool();
     307    bool ephV3 = (_rinexVers == 3) ? true : false;
    308308
    309309    QString hlpStr = bncRinex::nextEpochStr(datTim,
    310                          settings.value("ephIntr").toString(), ephV3filenames);
     310                         settings.value("ephIntr").toString(), ephV3);
    311311
    312312    if (_rinexVers == 3) {
    313       if (ephV3filenames) {
    314         QString country = "WRD"; // WORLD
    315         QString monNum = "0";
    316         QString recNum = "0";
    317         ephFileNameGPS += QString("%1").arg(monNum, 1, 10) +
    318                           QString("%1").arg(recNum, 1, 10) +
    319                           country +
    320                           "_S_" +     // stream
    321                           QString("%1").arg(datTim.date().year()) +
    322                           QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) +
    323                           hlpStr +   // HM_period
    324                           "_MN.rnx"; // mixed BRDC
    325       }
    326       else { // RNX v3 with old filenames
    327         ephFileNameGPS +=  QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) +
    328                            hlpStr + datTim.toString(".yyP");
    329       }
     313      QString country = "WRD"; // WORLD
     314      QString monNum = "0";
     315      QString recNum = "0";
     316      ephFileNameGPS += QString("%1").arg(monNum, 1, 10) +
     317                        QString("%1").arg(recNum, 1, 10) +
     318                        country +
     319                        "_S_" +     // stream
     320                        QString("%1").arg(datTim.date().year()) +
     321                        QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) +
     322                        hlpStr +   // HM_period
     323                        "_MN.rnx"; // mixed BRDC
    330324    }
    331325    else { // RNX v2.11
Note: See TracChangeset for help on using the changeset viewer.