IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2011, 1:23:27 PM (15 years ago)
Author:
eugene
Message:

updates from eam branch (tweaks for Darwin)

File:
1 edited

Legend:

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

    r29063 r31164  
    148148# Recipes to use based on reduction class
    149149$reduction = 'DEFAULT' unless defined $reduction;
    150 my $recipe_psphot  = $ipprc->reduction($reduction, 'STACKPHOT'); # Recipe to use for psphot
     150my $recipe_psphot  = $ipprc->reduction($reduction, 'STACKPHOT_PSPHOT'); # Recipe to use for psphot
     151my $recipe_ppsub   = $ipprc->reduction($reduction, 'STACKPHOT_PPSUB'); # Recipe to use for ppsub
     152my $recipe_ppstack = $ipprc->reduction($reduction, 'STACKPHOT_PPSTACK'); # Recipe to use for ppstack
    151153unless ($recipe_psphot) {
    152154    &my_die("Couldn't find selected reduction for STACKPHOT: $reduction\n", $sky_id, $PS_EXIT_CONFIG_ERROR);
    153155}
    154156
    155 print "reduction:     $reduction\n";
    156 print "recipe_psphot: $recipe_psphot\n";
     157print "reduction:      $reduction\n";
     158print "recipe_psphot:  $recipe_psphot\n";
     159print "recipe_ppsub:   $recipe_ppsub\n";
     160print "recipe_ppstack: $recipe_ppstack\n";
    157161
    158162# my $cmdflags;
     
    163167    $command .= " -input $listName";
    164168    $command .= " -threads $threads" if defined $threads;
    165     $command .= " -recipe PSPHOT $recipe_psphot";
     169    $command .= " -recipe PSPHOT  $recipe_psphot";
     170    $command .= " -recipe PPSUB   $recipe_ppsub";
     171    $command .= " -recipe PPSTACK $recipe_ppstack";
    166172    $command .= " -dumpconfig $configuration";
    167173    $command .= " -tracedest $traceDest -log $logDest";
     
    206212                my $outputSources  = $ipprc->filename("PSPHOT.STACK.OUTPUT", $outroot, $i);
    207213
    208                 &my_die("Couldn't find expected output file: $outputName", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputName);
    209                 &my_die("Couldn't find expected output file: $outputMask", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask);
    210                 &my_die("Couldn't find expected output file: $outputVariance", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputVariance);
     214                # XXX these are optional and not generated by default
     215                # &my_die("Couldn't find expected output file: $outputName", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputName);
     216                # &my_die("Couldn't find expected output file: $outputMask", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask);
     217                # &my_die("Couldn't find expected output file: $outputVariance", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputVariance);
    211218                &my_die("Couldn't find expected output file: $outputSources", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources);
    212219            }
     
    220227            my $chisqVariance = $ipprc->filename("PSPHOT.CHISQ.VARIANCE", $outroot);
    221228
    222             &my_die("Couldn't find expected output file: $chisqName",     $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqName);
    223             &my_die("Couldn't find expected output file: $chisqMask",     $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqMask);
    224             &my_die("Couldn't find expected output file: $chisqVariance", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqVariance);
     229            # XXX check the recipe -- should we expect these to exist?
     230            # &my_die("Couldn't find expected output file: $chisqName",           $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqName);
     231            # &my_die("Couldn't find expected output file: $chisqMask",           $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqMask);
     232            # &my_die("Couldn't find expected output file: $chisqVariance", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqVariance);
    225233        }
    226234    } else {
Note: See TracChangeset for help on using the changeset viewer.