Changeset 2191 for branches/casa-prerelease/pre-asap/src/MSFiller.cpp
- Timestamp:
- 06/13/11 11:41:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/casa-prerelease/pre-asap/src/MSFiller.cpp
r2188 r2191 601 601 Vector< Quantum<Double> > chanFreqs = (*sharedQDArrCol)( spwId ) ; 602 602 delete sharedQDArrCol ; 603 if ( nchan > 1 && chanFreqs[0].getValue("Hz") > chanFreqs[1].getValue("Hz") )604 increment *= -1.0 ;605 603 if ( freqRef == MFrequency::LSRK ) { 606 604 if ( even ) { … … 951 949 sdh.antennaname = telescopeName + "//" + antennaName ; 952 950 } 953 if ( stationName != "" && stationName != antennaName) {951 if ( stationName != "" ) { 954 952 sdh.antennaname += "@" + stationName ; 955 953 } … … 1052 1050 else if ( tmpStr.find( "." ) != String::npos ) { 1053 1051 sep = "." ; 1054 }1055 else if ( tmpStr.find( "#" ) != String::npos ) {1056 sep = "#" ;1057 1052 } 1058 1053 //else if ( obsMode.find( "_" ) != String::npos ) { … … 1111 1106 } 1112 1107 } 1113 else if ( sep == "." || sep == "#") {1114 // sep == "." or "#"1108 else if ( sep == "." ) { 1109 // sep == "." 1115 1110 // 1116 1111 // ALMA & EVLA case (MS via ASDM) before3.1 … … 1569 1564 if ( !isSysCal_ ) { 1570 1565 os_ << "No TCAL rows" << LogIO::POST ; 1571 Block<uInt> tcalids( 4,0 ) ;1566 Block<uInt> tcalids( 0 ) ; 1572 1567 return tcalids ; 1573 1568 } … … 1577 1572 if ( !tcalrec_.isDefined( key ) ) { 1578 1573 os_ << "No TCAL rows" << LogIO::POST ; 1579 Block<uInt> tcalids( 4,0 ) ;1574 Block<uInt> tcalids( 0 ) ; 1580 1575 return tcalids ; 1581 1576 }
Note: See TracChangeset
for help on using the changeset viewer.