Changeset 79 for trunk/src/SDWriter.cc


Ignore:
Timestamp:
08/10/04 16:26:33 (20 years ago)
Author:
mar637
Message:

Added support of source direction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDWriter.cc

    r75 r79  
    139139        // None of these are stored in SDMemTable by SDReader.
    140140        String          fieldName = "";
    141         Vector<Double>  srcDir(2, 0.0);
     141        //Vector<Double>  srcDir(2, 0.0);
    142142        Vector<Double>  srcPM(2, 0.0);
    143143        Double          srcVel = 0.0;
     
    158158        Float           windAz = 0.0f;
    159159        Int             refBeam = 0;
    160         Vector<Double>  direction(2, 0.0);
     160        //Vector<Double>  direction(2, 0.0);
    161161        Vector<Double>  scanRate(2, 0.0);
    162162        Vector<Float>   sigma(nPol, 0.0f);
     
    166166        Complex         xCalFctr;
    167167        Vector<Complex> xPol;
    168 
    169168        if (status = cWriter->write(sd.scanid, cycleNo, sd.timestamp,
    170169                                    sd.interval, fieldName, sd.sourcename,
    171                                     srcDir, srcPM, srcVel, iIF+1, hdr.reffreq,
     170                                    sd.getDirection(iBeam),
     171                                    srcPM, srcVel, iIF+1, hdr.reffreq,
    172172                                    hdr.bandwidth, freqInc, restFreq, tcal,
    173173                                    tcalTime, azimuth, elevation, parAngle,
    174174                                    focusAxi, focusTan, focusRot, temperature,
    175175                                    pressure, humidity, windSpeed, windAz,
    176                                     refBeam, iBeam+1, direction, scanRate,
     176                                    refBeam, iBeam+1,
     177                                    sd.getDirection(iBeam),
     178                                    scanRate,
    177179                                    sd.getTsys(iBeam, iIF), sigma, calFctr,
    178180                                    baseLin, baseSub,
Note: See TracChangeset for help on using the changeset viewer.