- Timestamp:
- Oct 22, 2020, 4:21:44 PM (4 years ago)
- Location:
- trunk/BNC/src/upload
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r9140 r9179 606 606 t_irc irc = processSatellite(eph, epoTime.gpsw(), epoTime.gpssec(), prnStr, rtnAPC, 607 607 rtnUra, rtnClk, rtnVel, rtnCoM, rtnClkSig, sd, outLine); 608 if (irc != success) { 608 if (irc != success) {/* 609 609 // very few cases: check states bad and unhealthy are excluded earlier 610 610 sd->ID = prnStr.mid(1).toInt(); // to prevent G00, R00 entries 611 611 sd->IOD = eph->IOD(); 612 */ 613 continue; 612 614 } 613 615 } … … 998 1000 sd->Orbit.DotDeltaAlongTrack = dotRsw(2); 999 1001 sd->Orbit.DotDeltaCrossTrack = dotRsw(3); 1002 1003 if (corrIsOutOfRange(sd)) { 1004 return failure; 1005 } 1000 1006 } 1001 1007 1002 1008 outLine.sprintf("%d %.1f %s %u %10.3f %8.3f %8.3f %8.3f %8.3f %8.3f\n", GPSweek, 1003 1009 GPSweeks, eph->prn().toString().c_str(), eph->IOD(), dClkA0, dClkA1, dClkA2, 1004 rsw(1), rsw(2), rsw(3)); 1010 rsw(1), rsw(2), rsw(3)); //fprintf(stderr, "%s\n", outLine.toStdString().c_str()); 1005 1011 1006 1012 // RTNET full clock for RINEX and SP3 file … … 1155 1161 return 2; // default 1156 1162 } 1163 1164 bool bncRtnetUploadCaster::corrIsOutOfRange(struct SsrCorr::ClockOrbit::SatData* sd) { 1165 1166 if (fabs(sd->Clock.DeltaA0) > 209.7151) {return true;} 1167 if (fabs(sd->Clock.DeltaA1) > 1.048575) {return true;} 1168 if (fabs(sd->Clock.DeltaA2) > 1.34217726) {return true;} 1169 1170 if (fabs(sd->Orbit.DeltaRadial) > 209.7151) {return true;} 1171 if (fabs(sd->Orbit.DeltaAlongTrack) > 209.7148) {return true;} 1172 if (fabs(sd->Orbit.DeltaCrossTrack) > 209.7148) {return true;} 1173 1174 if (fabs(sd->Orbit.DotDeltaRadial) > 1.048575) {return true;} 1175 if (fabs(sd->Orbit.DotDeltaAlongTrack) > 1.048572) {return true;} 1176 if (fabs(sd->Orbit.DotDeltaCrossTrack) > 1.048572) {return true;} 1177 1178 return false; 1179 } 1180 -
trunk/BNC/src/upload/bncrtnetuploadcaster.h
r9128 r9179 40 40 struct SsrCorr::ClockOrbit::SatData* sd, 41 41 QString& outLine); 42 43 bool corrIsOutOfRange(struct SsrCorr::ClockOrbit::SatData* sd); 44 42 45 void crdTrafo(int GPSWeek, ColumnVector& xyz, double& dc); 43 46
Note:
See TracChangeset
for help on using the changeset viewer.