IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2011, 10:05:10 AM (15 years ago)
Author:
eugene
Message:

merging updates from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110404/ippScripts/scripts/stack_skycell.pl

    r30842 r31439  
    7373PPSTACK.OUTPUT.EXPNUM       
    7474PPSTACK.OUTPUT.EXPWT
    75 PPSTACK.TARGET.PSF         
    7675PPSTACK.OUTPUT.JPEG1       
    7776PPSTACK.OUTPUT.JPEG2       
     
    8483# extra outputs when convolving
    8584my @outputListUnconv = qw(
     85PPSTACK.TARGET.PSF         
    8686PPSTACK.UNCONV
    8787PPSTACK.UNCONV.MASK
     
    181181my $recipe_psphot  = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot
    182182my $recipe_ppstats = 'STACKSTATS';
    183 if ($run_state eq 'update') {
    184     $recipe_ppstats = 'WARPSTATS';
     183if ($
     184run_state eq 'update') {
     185     $recipe_ppstats = 'WARPSTATS';
    185186}
    186187unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) {
     
    208209    &my_die("Unable to not compress and logflux compress simultaneously. Check config.",$stack_id, $PS_EXIT_CONFIG_ERROR);
    209210}
     211my $stack_type = metadataLookupStr($recipe, 'STACK.TYPE');
     212&my_die("STACK.TYPE not found in recipe. Check config.",$stack_id, $PS_EXIT_CONFIG_ERROR) unless $stack_type;
    210213
    211214# Generate MDC file with the inputs
     
    281284    $command .= " -recipe PSPHOT $recipe_psphot";
    282285    $command .= " -recipe PPSTATS $recipe_ppstats" if $do_stats;;
     286    $command .= " -stack-type $stack_type";
    283287    $command .= " -F PSPHOT.PSF.SAVE PSPHOT.PSF.SKY.SAVE";
    284288    $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF";
Note: See TracChangeset for help on using the changeset viewer.