Ignore:
Timestamp:
06/09/11 11:38:13 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CSV-929 etc.

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...

Merge several bug fixes for MSFiller/Writer in trunk
(r2167,r2176,r2184,r2185,r2187).


Location:
branches/casa-prerelease/pre-asap
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/casa-prerelease/pre-asap

  • branches/casa-prerelease/pre-asap/src

  • branches/casa-prerelease/pre-asap/src/MSFiller.cpp

    r2165 r2188  
    601601          Vector< Quantum<Double> > chanFreqs = (*sharedQDArrCol)( spwId ) ;
    602602          delete sharedQDArrCol ;
     603          if ( nchan > 1 && chanFreqs[0].getValue("Hz") > chanFreqs[1].getValue("Hz") )
     604            increment *= -1.0 ;
    603605          if ( freqRef == MFrequency::LSRK ) {
    604606            if ( even ) {
     
    949951    sdh.antennaname = telescopeName + "//" + antennaName ;
    950952  }
    951   if ( stationName != "" ) {
     953  if ( stationName != "" && stationName != antennaName ) {
    952954    sdh.antennaname += "@" + stationName ;
    953955  }
     
    10501052  else if ( tmpStr.find( "." ) != String::npos ) {
    10511053    sep = "." ;
     1054  }
     1055  else if ( tmpStr.find( "#" ) != String::npos ) {
     1056    sep = "#" ;
    10521057  }
    10531058  //else if ( obsMode.find( "_" ) != String::npos ) {
     
    11061111    }
    11071112  }
    1108   else if ( sep == "." ) {
    1109     // sep == "."
     1113  else if ( sep == "." || sep == "#" ) {
     1114    // sep == "." or "#"
    11101115    //
    11111116    // ALMA & EVLA case (MS via ASDM) before3.1
     
    15641569  if ( !isSysCal_ ) {
    15651570    os_ << "No TCAL rows" << LogIO::POST ;
    1566     Block<uInt> tcalids( 0 ) ;
     1571    Block<uInt> tcalids( 4, 0 ) ;
    15671572    return  tcalids ;
    15681573  }   
     
    15721577  if ( !tcalrec_.isDefined( key ) ) {
    15731578    os_ << "No TCAL rows" << LogIO::POST ;
    1574     Block<uInt> tcalids( 0 ) ;
     1579    Block<uInt> tcalids( 4, 0 ) ;
    15751580    return tcalids ;
    15761581  }
Note: See TracChangeset for help on using the changeset viewer.