- Timestamp:
- May 5, 2011, 10:05:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110404/ippScripts/scripts/stack_skycell.pl
r30842 r31439 73 73 PPSTACK.OUTPUT.EXPNUM 74 74 PPSTACK.OUTPUT.EXPWT 75 PPSTACK.TARGET.PSF76 75 PPSTACK.OUTPUT.JPEG1 77 76 PPSTACK.OUTPUT.JPEG2 … … 84 83 # extra outputs when convolving 85 84 my @outputListUnconv = qw( 85 PPSTACK.TARGET.PSF 86 86 PPSTACK.UNCONV 87 87 PPSTACK.UNCONV.MASK … … 181 181 my $recipe_psphot = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot 182 182 my $recipe_ppstats = 'STACKSTATS'; 183 if ($run_state eq 'update') { 184 $recipe_ppstats = 'WARPSTATS'; 183 if ($ 184 run_state eq 'update') { 185 $recipe_ppstats = 'WARPSTATS'; 185 186 } 186 187 unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) { … … 208 209 &my_die("Unable to not compress and logflux compress simultaneously. Check config.",$stack_id, $PS_EXIT_CONFIG_ERROR); 209 210 } 211 my $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; 210 213 211 214 # Generate MDC file with the inputs … … 281 284 $command .= " -recipe PSPHOT $recipe_psphot"; 282 285 $command .= " -recipe PPSTATS $recipe_ppstats" if $do_stats;; 286 $command .= " -stack-type $stack_type"; 283 287 $command .= " -F PSPHOT.PSF.SAVE PSPHOT.PSF.SKY.SAVE"; 284 288 $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF";
Note:
See TracChangeset
for help on using the changeset viewer.
