IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26624


Ignore:
Timestamp:
Jan 19, 2010, 1:18:48 PM (16 years ago)
Author:
watersc1
Message:

These are the versions I'm using for my final automatic queueing test this week. If everything works correctly on wed/thur/fri, I'll call them finished.

Location:
trunk
Files:
2 edited

Legend:

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

    r26620 r26624  
    156156}
    157157if (defined($check_stacks)) {
    158     $metadata_out{nsState} = 'QUEUESTACKS';
     158    $metadata_out{nsState} = 'TOWARP';
    159159    &execute_stacks($date,"pretend");
     160    if ($metadata_out{nsState} eq 'FORCETOWARP') {
     161        $metadata_out{nsState} = 'TOWARP';
     162    }
    160163    return_metadata($date);
    161164    exit(0);
     
    524527        foreach my $filter (@filter_list) {
    525528            my ($Nexposures,$NprocChips,$NprocWarps,$Nalready) = pre_stack_queue($date,$target,$filter);
    526             if (($NprocChips != $NprocWarps)||($NprocWarps == 0)||($NprocChips == 0)) {
     529            if (($NprocChips != $NprocWarps)) { #||($NprocWarps == 0)||($NprocChips == 0)) {
    527530                print STDERR "execute_stacks: Target $target on $date is not fully processed. ($NprocChips $NprocWarps)\n";
    528                 $metadata_out{nsState} = 'TOWARP';
     531                $metadata_out{nsState} = 'FORCETOWARP';
    529532                next;
    530533            }
     
    537540                next;
    538541            }
     542            unless ($metadata_out{nsState} eq 'FORCETOWARP') {
     543                $metadata_out{nsState} = 'QUEUESTACKS';
     544            }
    539545            unless(defined($pretend)) {
    540546                print STDERR "execute_stacks: Target $target in filter $filter on $date has exposures and will be queued.\n";
     
    545551   
    546552}
    547            
     553
    548554# Utilities
    549555
  • trunk/ippTasks/nightly_stacks.pro

    r26620 r26624  
    120120task              ns.initday.load
    121121  host            local
    122   periods         -poll 86400
    123   periods         -exec 86400
     122  periods         -poll $LOADPOLL
     123  periods         -exec $LOADEXEC
    124124  periods         -timeout 30
     125  trange          16:30:00 17:30:00 -nmax 1
    125126  npending        1
    126127
     
    405406#    convert 'stdout' to book format
    406407    book delpage nsData $options:0
    407     ipptool2book stdout nsData -uniq -key date
     408# We've queued up stacking. We're done with this date, so don't reload the page.
     409#    ipptool2book stdout nsData -uniq -key date
    408410    if ($VERBOSE > 2)
    409411        book listbook nsData
Note: See TracChangeset for help on using the changeset viewer.