Changeset 2271 in ntrip for trunk/BNC/bncmodel.cpp


Ignore:
Timestamp:
Jan 19, 2010, 4:58:43 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2267 r2271  
    154154    _estTropo = true;
    155155  }
     156  _oldAprTrop = 0.0;
    156157
    157158  _xcBanc.ReSize(4);  _xcBanc  = 0.0;
     
    307308      iGlo.remove();
    308309    }
     310  }
     311
     312  // Tropospheric Delay
     313  // ------------------
     314  if (_estTropo) {
     315    double newAprTrop = delay_saast(M_PI/2.0);
     316    if (_oldAprTrop != 0.0) {
     317      for (int ii = 0; ii < _params.size(); ++ii) {
     318        bncParam* pp = _params[ii];
     319        if (pp->type == bncParam::TROPO) {
     320          pp->xx += _oldAprTrop - newAprTrop;
     321        }
     322      }
     323    }
     324    _oldAprTrop = newAprTrop;
    309325  }
    310326
Note: See TracChangeset for help on using the changeset viewer.