Ignore:
Timestamp:
07/13/11 17:54:48 (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...

Number of IFs is not a number of rows of SpectralWindow? table,
but a number of frequency groups.
When freqGroup is not defined, number of IFs is set to number
of non-WVR spectral windows plus 1 (WVR spectral window).


File:
1 edited

Legend:

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

    r2216 r2220  
    148148    if ( dir.exists() ) {
    149149      if ( overwrite ) {
    150         //*os << "Delete existing file " << outname << " ..." << LogIO::POST ;
    151150        logsink_p->postLocally( LogMessage("Delete existing file "+outname+" ...",LogOrigin(funcname,WHERE)) ) ;
    152151        dir.removeRecursive() ;
    153152      }
    154153      else {
    155         //*os << LogIO::WARN << "Output file " << outname << " exists." << LogIO::POST ;
    156154        logsink_p->postLocally( LogMessage("Output file "+outname+" exists.",LogOrigin(funcname,WHERE),LogMessage::WARN) ) ;
    157155        return 1 ;
     
    167165    // save data only if nrow is not zero
    168166    if ( stable->nrow() > 0 ) {
    169       //*os << "Creating " << outname << "..." << LogIO::POST ;
    170167      logsink_p->postLocally( LogMessage("Creating "+outname+"...",LogOrigin(funcname,WHERE)) ) ;
    171168      stable->makePersistent( outname ) ;
    172169    }
    173170    else {
    174       //*os << outname << " will not be created since there are no data associate with the selection" << LogIO::POST ;
    175171      logsink_p->postLocally( LogMessage(outname+" will not be created since there are no data associate with the selection",LogOrigin(funcname,WHERE)) ) ;
    176172    }
     
    184180  if ( logfile.size() != 0 )
    185181    ofs.close() ;
    186   //delete os ;
    187182
    188183  return 0 ;
Note: See TracChangeset for help on using the changeset viewer.