- Timestamp:
- Nov 26, 2014, 7:25:36 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncsp3.cpp
r6351 r6354 165 165 delete _prevEpoch; _prevEpoch = _currEpoch; _currEpoch = 0; 166 166 167 if (_lastLine[0] == '*') { 168 _currEpoch = new t_sp3Epoch(); 169 istringstream in(_lastLine.substr(1).c_str()); 170 int YY, MM, DD, hh, mm; 171 double ss; 172 in >> YY >> MM >> DD >> hh >> mm >> ss; 173 _currEpoch->_tt.set(YY, MM, DD, hh, mm, ss); 174 } 175 167 176 while (true) { 168 169 if (!_currEpoch) {170 _currEpoch = new t_sp3Epoch();171 istringstream in(_lastLine.substr(1).c_str());172 int YY, MM, DD, hh, mm;173 double ss;174 in >> YY >> MM >> DD >> hh >> mm >> ss;175 _currEpoch->_tt.set(YY, MM, DD, hh, mm, ss);176 }177 178 177 getline(_stream, _lastLine); 179 178 if (_stream.eof() || _lastLine.find("EOF") == 0) { 180 delete _currEpoch; _currEpoch = 0;181 179 break; 182 180 } -
trunk/BNC/src/orbComp/sp3Comp.cpp
r6353 r6354 227 227 if (epochOK) { 228 228 epochs.push_back(epo); 229 cout << "OK: " << string(epo->_tt) << endl;230 229 } 231 230 else { … … 236 235 } 237 236 } 238 239 cout << "NUMEPO: " << epochs.size() << endl;240 237 241 238 // Transform xyz into radial, along-track, and out-of-plane
Note:
See TracChangeset
for help on using the changeset viewer.