IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 29, 2010, 2:39:45 PM (16 years ago)
Author:
watersc1
Message:

set nsState to DROP if we have no exposures for this night. (it was failing through to TOWARP)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/automate_stacks.pl

    r27470 r27512  
    539539    my $date = shift;
    540540    my $pretend = shift;
     541    my $exposures = 0;
    541542    foreach my $target (@target_list) {
    542543        my ($Nexposures,$Nimfiles,$Nburntooled,$Nalready) = pre_chip_queue($date,$target);
     
    554555            next;
    555556        }
     557        $exposures++;
    556558        unless(defined($pretend)) {
    557559            chip_queue($date,$target);
    558560        }
     561    }
     562    if ($exposures == 0) {
     563        $metadata_out{nsState} = 'DROP';
    559564    }
    560565}
Note: See TracChangeset for help on using the changeset viewer.