Ignore:
Timestamp:
03/01/11 17:13:36 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2718

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix

1) supporting variable shaped array input to some column (SPECTRAL DATA, TSYS, and TCAL)

2) put [1.0] instead of empty array as default TCAL in NROFiller

3) Check if some subtables have any effective rows in MSWriter


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r2017 r2019  
    849849                  *polnoRF = polnos[ipol] ;
    850850
    851                   *spRF = sp.row( ipol ) ;
    852                   *ucarrRF = fl.row( ipol ) ;
    853                   *tsysRF = tsys.row( ipol ) ;
     851                  //*spRF = sp.row( ipol ) ;
     852                  //*ucarrRF = fl.row( ipol ) ;
     853                  //*tsysRF = tsys.row( ipol ) ;
     854                  spRF.define( sp.row( ipol ) ) ;
     855                  ucarrRF.define( fl.row( ipol ) ) ;
     856                  tsysRF.define( tsys.row( ipol ) ) ;
    854857                  *tcalidRF = tcalids[ipol] ;
    855858
     
    12881291        for ( uInt ipol = 0 ; ipol < npol ; ipol++ ) {
    12891292          *idRF = idx++ ;
    1290           *tcalRF = subtcal.row( ipol ) ;
     1293          //*tcalRF = subtcal.row( ipol ) ;
     1294          tcalRF.define( subtcal.row( ipol ) ) ;
    12911295
    12921296          // commit row
     
    13191323//   os_ << "start MSFiller::getWeatherId() startSec=" << startSec << LogIO::POST ;
    13201324  uInt nrow = mwTime_.size() ;
    1321   if ( nrow == 0 )
     1325  if ( nrow < 2 )
    13221326    return 0 ;
    13231327  uInt wid = nrow ;
     
    13621366  if ( scTime.nelements() == 0 )
    13631367    return ;
     1368  else if ( scTime.nelements() == 1 ) {
     1369    tidx[0] = 0 ;
     1370    return ;
     1371  }
    13641372  uInt scnrow = scTime.nelements() ;
    13651373  uInt idx = 0 ;
Note: See TracChangeset for help on using the changeset viewer.