IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28133


Ignore:
Timestamp:
May 27, 2010, 9:17:45 AM (16 years ago)
Author:
bills
Message:

Merged STATS fixes from trunk into ipp-20100525

Location:
tags/ipp-20100525/ippScripts/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20100525/ippScripts/scripts/diff_skycell.pl

    r28043 r28133  
    197197my $recipe_ppSub = $ipprc->reduction($reduction, 'DIFF_PPSUB'); # Recipe to use for ppSub
    198198my $recipe_psphot  = $ipprc->reduction($reduction, 'DIFF_PSPHOT'); # Recipe to use for psphot
     199my $recipe_ppstats = 'DIFFSTATS';
    199200unless ($recipe_ppSub and $recipe_psphot) {
    200201    &my_die("Couldn't find selected reduction for DIFF_PPSUB and DIFF_PSPHOT: $reduction\n", $diff_id, $skycell_id, $PS_EXIT_CONFIG_ERROR);
     
    257258    $traceDest .= '.update';
    258259    $outputStats .= '.update';
     260
     261    $recipe_ppstats = 'WARPSTATS';
    259262}
    260263
     
    292295    $command .= " -recipe PPSUB $recipe_ppSub";
    293296    $command .= " -recipe PSPHOT $recipe_psphot";
    294     $command .= " -recipe PPSTATS DIFFSTATS";
     297    $command .= " -recipe PPSTATS $recipe_ppstats";
    295298    $command .= " -F PSPHOT.PSF.SAVE PSPHOT.PSF.SKY.SAVE";
    296299    $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF";
  • tags/ipp-20100525/ippScripts/scripts/stack_skycell.pl

    r28043 r28133  
    149149my $recipe_ppSub = $ipprc->reduction($reduction, 'STACK_PPSUB'); # Recipe to use for ppSub
    150150my $recipe_psphot  = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot
     151my $recipe_ppstats = 'STACKSTATS';
     152if ($run_state eq 'update') {
     153    $recipe_ppstats = 'WARPSTATS';
     154}
    151155unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) {
    152156    &my_die("Couldn't find selected reduction for STACK_PPSTACK, STACK_PPSUB and STACK_PSPHOT: $reduction\n", $stack_id, $PS_EXIT_CONFIG_ERROR);
     
    232236    $command .= " -recipe PPSUB $recipe_ppSub";
    233237    $command .= " -recipe PSPHOT $recipe_psphot";
    234     $command .= " -recipe PPSTATS STACKSTATS" if $do_stats;;
     238    $command .= " -recipe PPSTATS $recipe_ppstats" if $do_stats;;
    235239    $command .= " -F PSPHOT.PSF.SAVE PSPHOT.PSF.SKY.SAVE";
    236240    $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF";
Note: See TracChangeset for help on using the changeset viewer.