- Timestamp:
- 09/14/11 18:49:24 (13 years ago)
- Location:
- trunk/external-alma
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/asdm2ASAP/ASDMReader.cc
r2273 r2299 167 167 asdm_ = new ASDM() ; 168 168 // avoid unwanted message to stdout 169 ostringstream oss ;170 streambuf *buforg = cout.rdbuf(oss.rdbuf()) ;169 //ostringstream oss ; 170 //streambuf *buforg = cout.rdbuf(oss.rdbuf()) ; 171 171 asdm_->setFromFile( filename ) ; 172 cout.rdbuf(buforg) ;172 //cout.rdbuf(buforg) ; 173 173 174 174 if ( antennaId_ == -1 ) { … … 891 891 SubscanRow *subrow = asdm_->getSubscan().getRowByKey( ebtag, (int)scan, (int)subscan ) ; 892 892 SubscanIntent subIntent = subrow->getSubscanIntent() ; 893 SwitchingMode swmode = subrow->getSubscanMode() ; 893 SwitchingMode swmode = NO_SWITCHING ; 894 if ( subrow->isSubscanModeExists() ) 895 swmode = subrow->getSubscanMode() ; 894 896 if ( scanIntent == OBSERVE_TARGET ) { 895 897 // on sky scan -
trunk/external-alma/oldasdm2ASAP/OldASDMReader.cc
r2273 r2299 887 887 SubscanRow *subrow = asdm_->getSubscan().getRowByKey( ebtag, (int)scan, (int)subscan ) ; 888 888 SubscanIntent subIntent = subrow->getSubscanIntent() ; 889 SwitchingMode swmode = subrow->getSubscanMode() ; 889 SwitchingMode swmode = NO_SWITCHING ; 890 if ( subrow->isSubscanModeExists() ) 891 swmode = subrow->getSubscanMode() ; 890 892 if ( scanIntent == OBSERVE_TARGET ) { 891 893 // on sky scan
Note:
See TracChangeset
for help on using the changeset viewer.