Changeset 1390 for trunk


Ignore:
Timestamp:
07/27/07 11:29:54 (17 years ago)
Author:
Malte Marquarding
Message:

fix for scanning data, where direction can change per cycle not only per beam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STWriter.cpp

    r1305 r1390  
    160160    while (!beamit.pastEnd() ) {
    161161      Table btable = beamit.table();
    162       // position only varies by beam
    163       MDirection::ScalarColumn dirCol(btable, "DIRECTION");
    164       Vector<Double> direction = dirCol(0).getAngle("rad").getValue();
    165162      TableIterator cycit(btable, "CYCLENO");
    166163      ROArrayColumn<Double> srateCol(btable, "SCANRATE");
     
    178175        Table ctable = cycit.table();
    179176        TableIterator ifit(ctable, "IFNO");
     177        MDirection::ScalarColumn dirCol(ctable, "DIRECTION");
     178        Vector<Double> direction = dirCol(0).getAngle("rad").getValue();
    180179        Int ifno = 1;
    181180        while (!ifit.pastEnd() ) {
Note: See TracChangeset for help on using the changeset viewer.