Changeset 1482 for branches/alma


Ignore:
Timestamp:
01/20/09 17:28:30 (16 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1043

Ready to Release: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: asap_init()

s=sd.scantable('NRO_DATA_FILENAME',False)

Put in Release Notes: No

Module(s): No

Description: Modifications that accompanies an update of NROReader classes.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/STFiller.cpp

    r1480 r1482  
    463463
    464464  // store data into  NROHeader and NRODataset
    465   if ( nreader_->readHeader() != 0 ) {
    466     throw( AipsError( "Error while reading file "+filename_ ) ) ;
    467   }
     465  //if ( nreader_->readHeader() != 0 ) {
     466  //throw( AipsError( "Error while reading file "+filename_ ) ) ;
     467  //}
    468468
    469469  // get header data
     
    473473  header_ = new STHeader() ;
    474474
    475   header_->nchan = nreader_->getSpectrum( 0 ).size() ;
     475  header_->nchan = nheader->getNUMCH() ;
    476476  header_->npol = nreader_->getPolarizationNum() ;
    477477  header_->observer = nheader->getOBSVR() ;
Note: See TracChangeset for help on using the changeset viewer.