IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28963


Ignore:
Timestamp:
Aug 18, 2010, 7:45:40 PM (16 years ago)
Author:
bills
Message:

changes to support distribution of "sky" stage short for staticsky

Location:
trunk/ippScripts/scripts
Files:
3 edited

Legend:

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

    r28735 r28963  
    6767my $stacktool   = can_run('stacktool') or (warn "Can't find stacktool" and $missing_tools = 1);
    6868my $bgtool = can_run('bgtool') or (warn "Can't find bgtool" and $missing_tools = 1);
     69my $staticskytool = can_run('staticskytool') or (warn "Can't find staticskytool" and $missing_tools = 1);
    6970if ($missing_tools) {
    7071    &my_die("Can't find required tools.", $dist_id, $PS_EXIT_CONFIG_ERROR);
     
    108109    $list_mode = "-sumskyfile";
    109110    $component_key = "skycell_id";
     111} elsif ($stage eq "sky") {
     112    $tool_cmd = "$staticskytool -sky_id";
     113    $list_mode = "-result";
     114    $component_key = "";
    110115} elsif ($stage eq "diff") {
    111116    $tool_cmd = "$difftool -diff_id";
  • trunk/ippScripts/scripts/dist_bundle.pl

    r28942 r28963  
    5353                      'PPSTACK.OUTPUT.MASK' => 'mask',
    5454                      'PPSTACK.OUTPUT.VARIANCE' => 'variance' );
     55my %sky_cleaned   = ( 'PSPHOT.STACK.OUTPUT.IMAGE' => 'image',
     56                      'PSPHOT.STACK.OUTPUT.MASK' => 'mask',
     57                      'PSPHOT.STACK.OUTPUT.VARIANCE' => 'variance' );
    5558
    5659
     
    420423    } elsif ($stage eq "stack") {
    421424        $type = $stack_cleaned{$rule};
     425    } elsif ($stage eq "sky") {
     426        $type = $sky_cleaned{$rule};
    422427    } else {
    423428        &my_die("$stage is not a valid stage", $component, $PS_EXIT_CONFIG_ERROR);
     
    500505    } elsif ($stage eq "stack") {
    501506        $config_file_rule = "PPSTACK.CONFIG";
     507    } elsif ($stage eq "sky") {
     508        $config_file_rule = "PSPHOT.STACK.CONFIG";
    502509    } else {
    503510        &my_die("$stage is not a valid stage", $component, $PS_EXIT_CONFIG_ERROR);
  • trunk/ippScripts/scripts/dist_make_fileset.pl

    r28536 r28963  
    223223    my $dbname = shift;
    224224
    225     if (($stage eq 'stack') or ($stage eq 'diff') or ($stage eq 'SSdiff')) {
     225    if (($stage eq 'stack') or ($stage eq 'diff') or ($stage eq 'SSdiff') or $stage eq 'sky') {
    226226        return "";
    227227    }
Note: See TracChangeset for help on using the changeset viewer.