IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2010, 11:38:51 AM (16 years ago)
Author:
watersc1
Message:

"Final" version of the nightly stacks code. I may add more forcing later, if we have a lot of faults to skip through.

File:
1 edited

Legend:

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

    r26624 r26670  
    3636my ( $date, $camera, $dbname, $logfile, $verbose);
    3737my ( $check_registration, $define_burntool, $queue_burntool, $check_chips, $queue_chips, $check_stacks, $queue_stacks);
    38 my ( $help, $this_target_only, $this_filter_only, $isburning);
     38my ( $help, $this_target_only, $this_filter_only, $isburning, $force_stack_count);
    3939GetOptions(
    4040    'help|h'               => \$help,
     
    5454    'this_filter_only=s'   => \$this_filter_only,
    5555    'isburning'            => \$isburning,
     56    'force_stack_count'    => \$force_stack_count,
    5657    ) or pod2usage ( 2 );
    5758pod2usage( -msg =>
     
    6566           --this_target_only     Process only a single target.
    6667           --this_filter_only     Process only a single filter.
     68           --isburning            Signal that we are currently burntooling.
     69           --force_stack_count    Force the chip/warp counts.
    6770        Modes:
    6871           --check_registration   Confirm the data downloaded correctly.
     
    527530        foreach my $filter (@filter_list) {
    528531            my ($Nexposures,$NprocChips,$NprocWarps,$Nalready) = pre_stack_queue($date,$target,$filter);
    529             if (($NprocChips != $NprocWarps)) { #||($NprocWarps == 0)||($NprocChips == 0)) {
     532            if ((!defined($force_stack_count))&&($NprocChips != $NprocWarps)) { # This makes me sad. :(
    530533                print STDERR "execute_stacks: Target $target on $date is not fully processed. ($NprocChips $NprocWarps)\n";
    531534                $metadata_out{nsState} = 'FORCETOWARP';
Note: See TracChangeset for help on using the changeset viewer.