IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25443


Ignore:
Timestamp:
Sep 18, 2009, 11:32:16 AM (17 years ago)
Author:
watersc1
Message:

Fix to correct bad obs_mode values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/make_burntool_pcontrol.pl

    r25378 r25443  
    135135            $science{$obs_mode} = 0;
    136136        }
    137 
    138         if (($science{$obs_mode} == 1)&&($comment !~ /Daytime/)) {
     137#%science = ('MD' => 1, '3PI' => 1, 'STS' => 1, 'CAL' => 1, 'M31' => 1, 'SS' => 1,
     138#           'ENGINEERING' => 0, 'NULL' => 0, 'Unknown' => 0, ' ' => 0);
     139
     140        if ((($science{$obs_mode} == 1)&&($comment !~ /Daytime/))||
     141            (($science{$obs_mode} == 0)&&(
     142                                          ($comment =~ /MD/)||($comment =~ /3PI/)||
     143                                          ($comment =~ /STS/)||($comment =~ /M31/)||
     144                                          ($comment =~ /CAL/)||($comment =~ /SS/))))                                     
     145        {
    139146            if ($start_s[-1] == 0) {
    140147                $start_s[-1] = $et - 1800;
Note: See TracChangeset for help on using the changeset viewer.