Changeset 10814 in ntrip for trunk/BNC/src/orbComp
- Timestamp:
- Mar 9, 2026, 4:26:40 PM (3 weeks ago)
- File:
-
- 1 edited
-
trunk/BNC/src/orbComp/sp3Comp.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/orbComp/sp3Comp.cpp
r10695 r10814 225 225 for (map<t_prn, double>::iterator it = dc.begin(); it != dc.end(); it++) { 226 226 const t_prn& prn = it->first; 227 stringstream all; all << prn.system() << 99; 227 stringstream all; 228 if (prn.system() == 'C') { 229 if (prn.number() <= 16) { 230 all << "C-2"; 231 } 232 else { 233 all << "C-3"; 234 } 235 } else { 236 all << prn.system(); 237 } 228 238 if (satIndex(clkSats, prn) != -1) { 229 239 int index = epochs.size() + satIndex(clkSats, prn); … … 378 388 for (map<t_prn, ColumnVector>::const_iterator it = dr.begin(); it != dr.end(); it++) { 379 389 const t_prn& prn = it->first; 380 stringstream all; all << prn.system() << 99; 390 stringstream all; 391 if (prn.system() == 'C') { 392 if (prn.number() <= 16) { 393 all << "C-2"; 394 } 395 else { 396 all << "C-3"; 397 } 398 } else { 399 all << prn.system(); 400 } 401 381 402 if (!excludeSat(prn)) { 382 403 const ColumnVector& rao = it->second; … … 430 451 const string& prn = it->first; 431 452 t_stat& stat = it->second; 432 stringstream all; all << prn[0] << 99; 453 stringstream all; 454 if (prn[0] == 'C') { 455 int num = stoi(prn.substr(1,2)); 456 if (num <= 16) { 457 all << "C-2"; 458 } 459 else { 460 all << "C-3"; 461 } 462 } else { 463 all << prn[0]; 464 } 433 465 if (stat._nr > 0) { 434 466 stat._rao[0] = sqrt(stat._rao[0] / stat._nr); … … 442 474 } 443 475 else { 444 (_summaryOnly) ? out << " " << QString("%1 ").arg(all.str()[0]).toStdString() << " ":445 out << "! " << QString("%1 ").arg(all.str()[0]).toStdString() << " ";476 (_summaryOnly) ? out << " " << QString("%1").arg(all.str().c_str(),3,' ').toStdString().c_str() << " ": 477 out << "! " << QString("%1").arg(all.str().c_str(),3,' ').toStdString().c_str() << " "; 446 478 } 447 479 out << setw(10) << setprecision(1) << stat._rao[0] * 1e3 << ' ' … … 459 491 << setw(10) << setprecision(2) << stat._dcRedSig / t_CST::c * 1e9 << ' ' 460 492 << setw( 9) << stat._nc << " "; 461 if (prn != all.str()) {493 if (prn != "G" && prn != "R" && prn != "E" && prn != "C-2" && prn != "C-3") { 462 494 out << setw( 9) << setprecision(2) << stat._offset / t_CST::c * 1e9; 463 495 }
Note:
See TracChangeset
for help on using the changeset viewer.
