Changeset 2439 for trunk


Ignore:
Timestamp:
03/21/12 11:51:18 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2816

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: sdgrid unit test

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Fill TIME and INTERVAL column by tentative values that are taken from
first row of input data.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STGrid.cpp

    r2438 r2439  
    17011701  Vector<Double> srcdir = rec.asArrayDouble( "SRCDIRECTION" ) ;
    17021702  Vector<Double> scanrate = rec.asArrayDouble( "SCANRATE" ) ;
     1703  Double time = rec.asDouble( "TIME" ) ;
     1704  Double interval = rec.asDouble( "INTERVAL" ) ;
    17031705
    17041706  // fill columns
     
    17231725  ArrayColumn<Double> srcdirCol( tab, "SRCDIRECTION" ) ;
    17241726  ArrayColumn<Double> scanrateCol( tab, "SCANRATE" ) ;
     1727  ScalarColumn<Double> timeCol( tab, "TIME" ) ;
     1728  ScalarColumn<Double> intervalCol( tab, "INTERVAL" ) ;
    17251729  for ( Int i = 0 ; i < nrow ; i++ ) {
    17261730    scannoCol.put( i, (uInt)i ) ;
     
    17431747    srcdirCol.put( i, srcdir ) ;
    17441748    scanrateCol.put( i, scanrate ) ;
    1745   }
    1746 }
    1747 
    1748 }
     1749    timeCol.put( i, time ) ;
     1750    intervalCol.put( i, interval ) ;
     1751  }
     1752}
     1753
     1754}
Note: See TracChangeset for help on using the changeset viewer.