- Timestamp:
- 12/01/04 11:00:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDReader.cc
r87 r110 89 89 haveXPol)) == 0) { 90 90 throw(AipsError("PKSreader failed")); 91 //cerr << "PKSreader failed" << endl;92 91 } 93 92 if (!haveSpectra) { … … 99 98 nBeam_ = beams.nelements(); 100 99 // Get basic parameters. 100 if (haveXPol) { 101 cout << "Warning. Ignoring cross polarisation." << endl; 102 nPol_--; 103 } 101 104 header_ = SDHeader(); 102 105 header_.nchan = nChan_; … … 176 179 if (status == -1) { 177 180 // EOF. 178 if (row < stepsize-1) cerr << "incomplete integration data." << endl;181 if (row < stepsize-1) cerr << "incomplete scan data.\n Probably means not all Beams/IFs/Pols within a scan a present." << endl; 179 182 //cerr << "EOF" << endl; 180 183 table_->putSDFreqTable(frequencies_); … … 193 196 sc.interval = interval; 194 197 sc.sourcename = srcName; 198 sc.fieldname = fieldName; 199 sc.azimuth = azimuth; 200 sc.elevation = elevation; 195 201 } 196 202 // add specific info … … 200 206 Int frqslot = frequencies_.addFrequency(refPix, refFreq, freqInc); 201 207 sc.setFrequencyMap(frqslot,IFno-1); 202 208 sc.tcal[0] = tcal[0];sc.tcal[1] = tcal[1]; 209 sc.tcaltime = tcalTime; 210 sc.parangle = parAngle; 211 sc.refbeam = refBeam; 203 212 sc.scanid = scanNo-1;//make it 0-based 204 213 sc.setSpectrum(spectra, beamNo-1, IFno-1);
Note:
See TracChangeset
for help on using the changeset viewer.