Changeset 11067 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp


Ignore:
Timestamp:
Oct 5, 2026, 12:33:42 PM (3 days ago)
Author:
stuerze
Message:

some more fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r11047 r11067  
    672672      }
    673673      else {
    674         _model._antPCO[ii] += PPP_CLIENT->antex()->satCorr(prn, frqType, _model._elTx, _model._azTx, found);
     674        _model._antPCO[ii] += PPP_CLIENT->antex()->satCorr(prn, frqType, _model._elTx, _model._azTx, found, _time);
     675        if (!found && !PPP_CLIENT->antex()->hasSatEntry(prn, _time) &&
     676            PPP_CLIENT->antex()->warnNoSatEntry(prn, _time)) {
     677          LOG << "ANTEX: no satellite antenna entry valid at " << _time.datestr() << ' ' << _time.timestr()
     678              << " for " << _prn.toString() << " - ANTEX file outdated?" << endl;
     679        }
    675680        if (OPT->_isAPC && found) {
    676681          // the PCOs as given in the satellite antenna correction for all frequencies
    677682          // have to be reduced by the PCO of the respective reference frequency
    678683          if      (_prn.system() == 'G') {
    679             _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::G1, _model._elTx, _model._azTx, found);
     684            _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::G1, _model._elTx, _model._azTx, found, _time);
    680685          }
    681686          else if (_prn.system() == 'R') {
    682             _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::R1, _model._elTx, _model._azTx, found);
     687            _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::R1, _model._elTx, _model._azTx, found, _time);
    683688          }
    684689          else if (_prn.system() == 'E') {
    685             _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::E1, _model._elTx, _model._azTx, found);
     690            _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::E1, _model._elTx, _model._azTx, found, _time);
    686691          }
    687692          else if (_prn.system() == 'C') {
    688             _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::C2, _model._elTx, _model._azTx, found);
     693            _model._antPCO[ii] -= PPP_CLIENT->antex()->satCorr(prn, t_frequency::C2, _model._elTx, _model._azTx, found, _time);
    689694          }
    690695        }
Note: See TracChangeset for help on using the changeset viewer.