Changeset 3061


Ignore:
Timestamp:
11/18/15 19:56:31 (8 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-8097

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


More strict intent mapping. Only CALIBRATE_ATMOSPHERE#* intents are mapped into Srctype::PONCAL or SrcType::POFFCAL. Other CALIBRATE_* intents such as POINTING are separated from ATMOSPHERE and mapped into SrcType::CAL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r3060 r3061  
    10751075    String m1 = first.substr( 0, epos ) ;
    10761076    String m2 = first.substr( epos+1, nextpos-epos-1 ) ;
    1077     if ( m1.find( "CALIBRATE_" ) == 0 ) {
     1077    if ( m1.find( "CALIBRATE_ATMOSPHERE" ) == 0 ) {
    10781078      if (m2.find( "ON_SOURCE" ) == 0 || m2.find("HOT") == 0 || m2.find("AMBIENT") == 0)
    10791079        st = SrcType::PONCAL ;
    10801080      else if ( m2.find( "OFF_SOURCE" ) == 0 )
    10811081        st = SrcType::POFFCAL ;
     1082    }
     1083    else if ( m1.find( "CALIBRATE_" ) == 0 ) {
     1084      st = SrcType::CAL ;
    10821085    }
    10831086    else if ( m1.find( "OBSERVE_TARGET" ) == 0 ) {
Note: See TracChangeset for help on using the changeset viewer.