- Timestamp:
- 03/02/11 17:37:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MSFiller.cpp
r2024 r2025 119 119 } 120 120 121 os_ << "Parsing MS options" << endl ;122 os_ << " getPt = " << getPt_ << endl ;123 os_ << " antenna = " << antenna_ << endl ;124 os_ << " antennaStr = " << antennaStr_ << LogIO::POST ;125 126 121 MeasurementSet *tmpMS = new MeasurementSet( filename, Table::Old ) ; 127 122 //mstable_ = (*tmpMS)( tmpMS->col("ANTENNA1") == antenna_ … … 133 128 if ( id.size() > 0 ) 134 129 antenna_ = id[0] ; 135 os_ << "searched antenna_ = " << antenna_ << LogIO::POST ; 136 } 130 } 131 132 os_ << "Parsing MS options" << endl ; 133 os_ << " getPt = " << getPt_ << endl ; 134 os_ << " antenna = " << antenna_ << endl ; 135 os_ << " antennaStr = " << antennaStr_ << LogIO::POST ; 136 137 137 mstable_ = MeasurementSet( (*tmpMS)( tmpMS->col("ANTENNA1") == antenna_ 138 138 && tmpMS->col("ANTENNA1") == tmpMS->col("ANTENNA2") ) ) ; … … 350 350 if ( telescopeName == "" ) { 351 351 tcolr = tpoolr->construct( obstab, "TELESCOPE_NAME" ) ; 352 sdh.observer= tcolr->asString( obsId ) ;352 telescopeName = tcolr->asString( obsId ) ; 353 353 tpoolr->destroy( tcolr ) ; 354 354 } … … 1180 1180 //os_ << "mWeatherSel.nrow() = " << mWeatherSel.nrow() << LogIO::POST ; 1181 1181 if ( mWeatherSel.nrow() == 0 ) { 1182 os_ << "No rows with ANTENNA_ID = " << antenna_ << " , Try -1..." << LogIO::POST ;1182 os_ << "No rows with ANTENNA_ID = " << antenna_ << " in WEATHER table, Try -1..." << LogIO::POST ; 1183 1183 mWeatherSel = Table( MSWeather( mWeather( mWeather.col("ANTENNA_ID") == -1 ) ) ) ; 1184 1184 if ( mWeatherSel.nrow() == 0 ) { … … 1273 1273 if ( !isSysCal_ ) { 1274 1274 // add dummy row 1275 os_ << "No S ysCalrows" << LogIO::POST ;1275 os_ << "No SYSCAL rows" << LogIO::POST ; 1276 1276 table_->tcal().table().addRow(1,True) ; 1277 1277 Vector<Float> defaultTcal( 1, 1.0 ) ; … … 1283 1283 Table sctab = mstable_.sysCal() ; 1284 1284 if ( sctab.nrow() == 0 ) { 1285 os_ << "No S ysCalrows" << LogIO::POST ;1285 os_ << "No SYSCAL rows" << LogIO::POST ; 1286 1286 return ; 1287 1287 } 1288 1288 Table sctabsel( sctab( sctab.col("ANTENNA_ID") == antenna_ ) ) ; 1289 1289 if ( sctabsel.nrow() == 0 ) { 1290 os_ << "No S ysCalrows" << LogIO::POST ;1290 os_ << "No SYSCAL rows" << LogIO::POST ; 1291 1291 return ; 1292 1292 }
Note:
See TracChangeset
for help on using the changeset viewer.