Changeset 30132 for trunk/ippScripts/scripts/nightly_science.pl
- Timestamp:
- Dec 21, 2010, 1:23:03 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/nightly_science.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/nightly_science.pl
r30120 r30132 1289 1289 my $pretend = shift; 1290 1290 1291 my $Npotential = 0; 1292 my $Nnoexp = 0; 1291 1293 foreach my $target (sort (keys %science_config)) { 1292 1294 if ($science_config{$target}{DIFFABLE} == 1) { 1293 1295 foreach my $filter (@filter_list) { 1296 $Npotential ++; 1294 1297 my ($NprocChips,$NprocWarps) = pre_diff_queue($date,$observing_state,$target,$filter); 1295 1298 # if ((!defined($force_diff_count))&&($NprocChips != $NprocWarps)) { … … 1301 1304 # } 1302 1305 if ($NprocChips == 0) { 1306 $Nnoexp ++; 1303 1307 if ($debug == 1) { 1304 1308 print STDERR "execute_diffs: Target $target in filter $filter on $date has no exposures.\n"; … … 1328 1332 } 1329 1333 } 1334 if (($Npotential == $Nnoexp)&&($metadata_out{nsObservingState} eq 'END_OF_NIGHT')) { 1335 $metadata_out{nsDiffState} = 'FINISHED_DIFFS'; 1336 } 1337 1330 1338 } 1331 1339
Note:
See TracChangeset
for help on using the changeset viewer.
