Changeset 507 for trunk/src/SDAttr.cc


Ignore:
Timestamp:
02/23/05 14:44:30 (19 years ago)
Author:
kil064
Message:

add function feedPolType

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDAttr.cc

    r475 r507  
    224224}
    225225
     226FeedPolType SDAttr::feedPolType (Instrument inst) const
     227{
     228   FeedPolType type = UNKNOWNFEED;
     229   switch (inst) {
     230      case ATMOPRA:
     231      case ATPKSMB:
     232      case ATPKSHOH:
     233        {
     234           type = LINEAR;
     235        }
     236        break;
     237      case TIDBINBILLA:
     238        {
     239           type = CIRCULAR;
     240        }
     241        break;
     242      default:
     243        {
     244           type = UNKNOWNFEED;
     245        }
     246   }
     247   return type;
     248}
     249
     250
    226251
    227252
     
    304329   // The strings are what SDReader returns, after cunning interrogation
    305330   // of station names... :-(
    306    Instrument inst = asap::UNKNOWN;
     331   Instrument inst = asap::UNKNOWNINST;
    307332   if (t==String("DSS-43")) {
    308333      inst = TIDBINBILLA;
Note: See TracChangeset for help on using the changeset viewer.