Changeset 568


Ignore:
Timestamp:
04/06/05 13:58:09 (20 years ago)
Author:
mar637
Message:

asap0000: put in a nBeam_ test to circumvent this bug. Mark C to fing the RPFITSreader problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release-1-fixes/src/SDReader.cc

    r477 r568  
    293293        sc.tcaltime = tcalTime;
    294294        sc.parangle = parAngle;
    295         sc.refbeam = refBeam-1;//make it 0-based; -1 if nbeams == 1
     295        sc.refbeam = -1; //nbeams == 1
     296        if (nBeam_ > 1) // circumvent a bug "asap0000" in read which
     297                        // returns a random refbema number on multiple
     298                        // reads
     299          sc.refbeam = refBeam-1;//make it 0-based;
    296300        sc.scanid = scanNo-1;//make it 0-based
    297301        if (haveXPol_) {
Note: See TracChangeset for help on using the changeset viewer.