Changeset 11228 in ntrip for trunk/BNC/src/bncclockrinex.cpp
- Timestamp:
- Nov 26, 2026, 8:21:15 PM (4 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/bncclockrinex.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncclockrinex.cpp
r11179 r11228 103 103 104 104 _out << " 3.00 C " << "RINEX VERSION / TYPE" << endl; 105 ;106 105 _out << QString("BNC v%1").arg(BNCVERSION).leftJustified(40, ' ', true).toLatin1().data() 107 106 << datTim.toString("yyyyMMdd hhmmss").leftJustified(20, ' ', true).toLatin1().data() … … 114 113 << "ANALYSIS CENTER" << endl; 115 114 116 _out << " 177 " 115 // Satellites that may be contained in the file (the header is written 116 // before the first epoch); number and list are derived from the same ranges 117 // ------------------------------------------------------------------------- 118 QStringList prnList; 119 const struct { char sys; int first; int last; } ranges[] = { 120 {'G', 1, 32}, {'R', 1, 26}, {'E', 1, 36}, {'C', 1, 63}, {'J', 1, 4}, {'I', 1, 7} 121 }; 122 for (unsigned ir = 0; ir < sizeof(ranges) / sizeof(ranges[0]); ir++) { 123 for (int nn = ranges[ir].first; nn <= ranges[ir].last; nn++) { 124 prnList << QString("%1%2").arg(ranges[ir].sys).arg(nn, 2, 10, QChar('0')); 125 } 126 } 127 const int sbas[] = {20, 24, 27, 28, 29, 33, 35, 37, 38}; 128 for (unsigned ii = 0; ii < sizeof(sbas) / sizeof(sbas[0]); ii++) { 129 prnList << QString("S%1").arg(sbas[ii], 2, 10, QChar('0')); 130 } 131 132 _out << QString("%1").arg(prnList.size(), 6).leftJustified(60, ' ').toLatin1().data() 117 133 << "# OF SOLN SATS" << endl; 118 134 119 _out << "G01 G02 G03 G04 G05 G06 G07 G08 G09 G10 G11 G12 G13 G14 G15 PRN LIST" << endl; 120 _out << "G16 G17 G18 G19 G20 G21 G22 G23 G25 G26 G27 G28 G29 G30 G31 PRN LIST" << endl; 121 _out << "G32 R01 R02 R03 R05 R06 R07 R08 R09 R10 R11 R12 R13 R14 R15 PRN LIST" << endl; 122 _out << "R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 E01 E02 E03 E04 PRN LIST" << endl; 123 _out << "R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 E01 E02 E03 E04 PRN LIST" << endl; 124 _out << "E05 E06 E07 E08 E09 E10 E11 E12 E13 E14 E15 E16 E17 E18 E19 PRN LIST" << endl; 125 _out << "E20 E21 E22 E23 E24 E25 E26 E27 E28 E29 E30 E31 E32 E33 E34 PRN LIST" << endl; 126 _out << "E35 E36 C01 C02 C03 C04 C05 C06 C07 C08 C09 C10 C11 C12 C13 PRN LIST" << endl; 127 _out << "C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 PRN LIST" << endl; 128 _out << "C29 C30 C31 C32 C33 C34 C35 C36 C37 C38 C39 C40 C41 C42 C43 PRN LIST" << endl; 129 _out << "C44 C45 C46 C47 C48 C49 C50 C51 C52 C53 C54 C55 C56 C57 C58 PRN LIST" << endl; 130 _out << "C59 C60 C61 C62 C63 J01 J02 J03 J04 I01 I02 I03 I04 I05 I06 PRN LIST" << endl; 131 _out << "I07 S20 S24 S27 S28 S29 S33 S35 S37 S38 PRN LIST" << endl; 135 for (int ii = 0; ii < prnList.size(); ii += 15) { 136 _out << QStringList(prnList.mid(ii, 15)).join(" ").leftJustified(60, ' ').toLatin1().data() 137 << "PRN LIST" << endl; 138 } 132 139 133 140 _out << " 0 IGS20 "
Note:
See TracChangeset
for help on using the changeset viewer.
