Ignore:
Timestamp:
08/12/11 16:20:30 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1913

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...

Support latest ASDM definition in asdm2ASAP.
Now asdm2ASAP is linked to libalma_v3.so to be able to read latest ASDM.

The importasdm task invokes asdm2ASAP when singledish is True.

Older version of asdm2ASAP is renamec as oldasdm2ASAP.
The oldasdm2ASAP and related classes are built by linking to libalma.so.
It is installed but not used by any tasks.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/asdm2ASAP/ASDMFiller.cc

    r2253 r2273  
    125125        if ( !(reader_->setMainRow( irow )) ) {
    126126          // skip row since the row doesn't have valid configDescId
    127           //logsink_->postLocally( LogMessage("skip "+String::toString(irow),LogOrigin(className_,funcName,WHERE)) ) ;
     127          //logsink_->postLocally( LogMessage("skip "+String::toString(irow)+" since ASDMReader::setMainrow() returns False",LogOrigin(className_,funcName,WHERE)) ) ;
    128128          continue ;
    129129        }
     
    136136        if ( !(reader_->setData()) ) {
    137137          // skip row since reader failed to retrieve data
    138           //logsink_->postLocally( LogMessage("skip "+String::toString(irow),LogOrigin(className_,funcName,WHERE)) ) ;
     138          //logsink_->postLocally( LogMessage("skip "+String::toString(irow)+" since ASDMReader::setData() returns False",LogOrigin(className_,funcName,WHERE)) ) ;
    139139          continue ;
    140140        }
     
    271271//               oss << dataShape[i] << ", " ;
    272272//           }
    273 //           logsink_->postLocally( LogMessage(oss.str(),LogOrigin(className_,funcName,WHERE)) ) ;
     273          //logsink_->postLocally( LogMessage(oss.str(),LogOrigin(className_,funcName,WHERE)) ) ;
    274274                                     
    275275          //int numPol = reader_->getNumPol( idata ) ;
     
    285285          // SPECTRA, FLAGTRA, TSYS, TCAL
    286286          float *sp = reader_->getSpectrum( idata ) ;
    287           vector< vector<float> > ts = reader_->getTsys( idata ) ;
    288           vector< vector<float> > tc = reader_->getTcal( idata ) ;
     287          vector< vector<float> > ts ;
     288          vector< vector<float> > tc ;
     289          reader_->getTcalAndTsys( idata, tc, ts ) ;
    289290          Matrix<casa::Float> spectra = toMatrix( sp, numPol, numChan ) ;
    290291          Vector<uChar> flagtra( numChan, 0 ) ;
Note: See TracChangeset for help on using the changeset viewer.