Changeset 110


Ignore:
Timestamp:
12/01/04 11:00:00 (20 years ago)
Author:
mar637
Message:

filling azimuth,elevation,parangle,refbeam,fieldname,tcal,tcaltime
Ignoring Xpol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDReader.cc

    r87 r110  
    8989                              haveXPol)) == 0)  {
    9090    throw(AipsError("PKSreader failed"));
    91     //cerr << "PKSreader failed" << endl;
    9291  }
    9392  if (!haveSpectra) {
     
    9998  nBeam_ = beams.nelements();
    10099  // Get basic parameters.
     100  if (haveXPol) {
     101    cout << "Warning. Ignoring cross polarisation." << endl;
     102    nPol_--;   
     103  }
    101104  header_ = SDHeader();
    102105  header_.nchan = nChan_;
     
    176179        if (status == -1) {
    177180          // 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;
    179182          //cerr << "EOF" << endl;
    180183          table_->putSDFreqTable(frequencies_);
     
    193196          sc.interval = interval;
    194197          sc.sourcename = srcName;
     198          sc.fieldname = fieldName;
     199          sc.azimuth = azimuth;
     200          sc.elevation = elevation;
    195201        }
    196202        // add specific info
     
    200206        Int frqslot = frequencies_.addFrequency(refPix, refFreq, freqInc);
    201207        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;
    203212        sc.scanid = scanNo-1;//make it 0-based
    204213        sc.setSpectrum(spectra, beamNo-1, IFno-1);
Note: See TracChangeset for help on using the changeset viewer.