Changeset 495 for trunk


Ignore:
Timestamp:
02/21/05 18:15:32 (20 years ago)
Author:
kil064
Message:

write time out as formatted UTC string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDAsciiWriter.cc

    r448 r495  
    116116      const Array<Bool>& mask = dataIn.getMask();
    117117
    118 // Epoch
    119 
    120       Double dTmp;
    121       time.get(iRow, dTmp);
    122       MVEpoch tmp2(Quantum<Double>(dTmp, Unit(String("d"))));
    123       MEpoch epoch(tmp2, timeRef);
    124 
    125118// Iterate through data in this row by spectra
    126119
     
    151144               pos(asap::PolAxis) << " " <<
    152145               src(iRow) <<  " " << formatDirection(lonLat) << " " <<
    153                dTmp << " " << itData.vector().nelements() << " ";
     146               sdTable.getTime(iRow,True) << " " << itData.vector().nelements() << " ";
    154147// Write data
    155148
Note: See TracChangeset for help on using the changeset viewer.