- Timestamp:
- May 4, 2011, 3:20:38 PM (15 years ago)
- Location:
- branches/czw_branch/20110406
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/stack_skycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20110406
- Property svn:mergeinfo changed
-
branches/czw_branch/20110406/ippScripts/scripts/stack_skycell.pl
r31253 r31434 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.
