Changeset 7250 in ntrip
- Timestamp:
- Aug 24, 2015, 4:04:38 PM (9 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r7237 r7250 125 125 } 126 126 if (totOK) { 127 _signalPropagationTime = prange / t_CST::c - _xcSat[3]; 127 128 _model._satClkM = _xcSat[3] * t_CST::c; 128 129 } … … 394 395 // Ionospheric Delay 395 396 // ----------------- 396 if (station->vTec()) { 397 397 const t_vTec* vTec = PPP_CLIENT->obsPool()->vTec(); 398 if (vTec) { 399 double stec = station->stec(vTec, _signalPropagationTime, rSat); 398 400 for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) { 399 401 t_frequency::type frqType = static_cast<t_frequency::type>(iFreq); 400 //_model._codeIono[iFreq] = 401 } 402 } 403 402 _model._ionoCodeDelay[iFreq] = 40.0 / pow(t_CST::freq(frqType, _channel), 2) * stec * 10.0e16; 403 } 404 } 404 405 405 406 // Ocean Loading -
trunk/BNC/src/PPP/pppSatObs.h
r7237 r7250 89 89 _windUp = 0.0; 90 90 for (unsigned ii = 0; ii < t_frequency::max; ii++) { 91 _antPCO[ii] = 0.0;92 _codeBias[ii] = 0.0;93 _phaseBias[ii] = 0.0;94 _ codeIono[ii] = 0.0;91 _antPCO[ii] = 0.0; 92 _codeBias[ii] = 0.0; 93 _phaseBias[ii] = 0.0; 94 _ionoCodeDelay[ii] = 0.0; 95 95 } 96 96 } … … 109 109 double _codeBias[t_frequency::max]; 110 110 double _phaseBias[t_frequency::max]; 111 double _ codeIono[t_frequency::max];111 double _ionoCodeDelay[t_frequency::max]; 112 112 }; 113 113 … … 126 126 bool _outlier; 127 127 std::map<t_lc::type, double> _res; 128 double _signalPropagationTime; 128 129 }; 129 130 -
trunk/BNC/src/PPP/pppStation.cpp
r7237 r7250 25 25 ////////////////////////////////////////////////////////////////////////////// 26 26 t_pppStation::t_pppStation() { 27 _windUp = new t_windUp(); 27 _windUp = new t_windUp(); 28 _iono = new t_iono(); 29 _dClk = 0.0; 28 30 } 29 31 … … 32 34 t_pppStation::~t_pppStation() { 33 35 delete _windUp; 36 delete _iono; 34 37 } 35 38 … … 57 60 } 58 61 62 // 63 ////////////////////////////////////////////////////////////////////////////// 64 double t_pppStation::stec(const t_vTec* vTec, const double signalPropagationTime, 65 const ColumnVector& rSat) const { 66 return _iono->stec(vTec, signalPropagationTime, rSat, _epochTime, _xyzApr); 67 } -
trunk/BNC/src/PPP/pppStation.h
r7237 r7250 10 10 11 11 class t_windUp; 12 class t_iono; 12 13 13 14 class t_pppStation { … … 21 22 void setDClk(double dClk) {_dClk = dClk;} 22 23 void setTideDspl(const ColumnVector& tideDspl) {_tideDspl = tideDspl;} 23 void set Vtec(double vtec) {_vtec = vtec;}24 void setIonoEpochTime(const bncTime& epochTime) {_epochTime = epochTime;} 24 25 const std::string& name() const {return _name;} 25 26 const std::string& antName() const {return _antName;} … … 31 32 double dClk() const {return _dClk;} 32 33 double windUp(const bncTime& time, t_prn prn, const ColumnVector& rSat) const; 33 double vTec() const {return _vtec;}34 double stec(const t_vTec* vTec, const double signalPropagationTime, const ColumnVector& rSat) const; 34 35 35 36 private: … … 45 46 bncTime _timeCheck; 46 47 ColumnVector _xyzCheck; 47 double _vtec; 48 t_iono* _iono; 49 bncTime _epochTime; 48 50 }; 49 51
Note:
See TracChangeset
for help on using the changeset viewer.