Changeset 8713 for trunk/ippScripts/scripts/phase0exp.pl
- Timestamp:
- Aug 30, 2006, 2:36:59 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase0exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase0exp.pl
r8709 r8713 26 26 # These values should be constant for all components 27 27 use constant CONSTANTS => [ 28 "exp_type", #exposure type 28 29 "filter", # Filter used 29 30 "airmass", # Airmass … … 101 102 my $stdev = get_value($imfile, PHASE0_BG_MEAN_STDEV()); 102 103 push @stdevs, $stdev; 103 104 my $type = get_value($imfile, TYPE());105 if (not defined $obsType) {106 $obsType = $type;107 } elsif ($obsType ne $type) {108 die "Observation types differ.\n";109 }110 104 } 111 105 … … 144 138 # Add the detrend flag 145 139 foreach my $detrendType (@{DETRENDS()}) { 146 if (lc($ obsType) eq lc($detrendType)) {140 if (lc($values{TYPE()}) eq lc($detrendType)) { 147 141 $command .= " " . DETREND_FLAG; 148 142 last;
Note:
See TracChangeset
for help on using the changeset viewer.
