Changeset 28126
- Timestamp:
- May 26, 2010, 4:35:09 PM (16 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
diff_skycell.pl (modified) (3 diffs)
-
stack_skycell.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r28043 r28126 197 197 my $recipe_ppSub = $ipprc->reduction($reduction, 'DIFF_PPSUB'); # Recipe to use for ppSub 198 198 my $recipe_psphot = $ipprc->reduction($reduction, 'DIFF_PSPHOT'); # Recipe to use for psphot 199 my $recipe_ppstats = 'DIFFSTATS'; 199 200 unless ($recipe_ppSub and $recipe_psphot) { 200 201 &my_die("Couldn't find selected reduction for DIFF_PPSUB and DIFF_PSPHOT: $reduction\n", $diff_id, $skycell_id, $PS_EXIT_CONFIG_ERROR); … … 257 258 $traceDest .= '.update'; 258 259 $outputStats .= '.update'; 260 261 $recipe_ppstats = 'WARPSTATS'; 259 262 } 260 263 … … 292 295 $command .= " -recipe PPSUB $recipe_ppSub"; 293 296 $command .= " -recipe PSPHOT $recipe_psphot"; 294 $command .= " -recipe PPSTATS DIFFSTATS";297 $command .= " -recipe PPSTATS $recipe_ppstats"; 295 298 $command .= " -F PSPHOT.PSF.SAVE PSPHOT.PSF.SKY.SAVE"; 296 299 $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF"; -
trunk/ippScripts/scripts/stack_skycell.pl
r28043 r28126 149 149 my $recipe_ppSub = $ipprc->reduction($reduction, 'STACK_PPSUB'); # Recipe to use for ppSub 150 150 my $recipe_psphot = $ipprc->reduction($reduction, 'STACK_PSPHOT'); # Recipe to use for psphot 151 my $recipe_ppstats = 'STACKSTATS'; 152 if ($run_state eq 'update') { 153 $recipe_ppstats = 'WARPSTATS'; 154 } 151 155 unless ($recipe_ppStack and $recipe_ppSub and $recipe_psphot) { 152 156 &my_die("Couldn't find selected reduction for STACK_PPSTACK, STACK_PPSUB and STACK_PSPHOT: $reduction\n", $stack_id, $PS_EXIT_CONFIG_ERROR); … … 232 236 $command .= " -recipe PPSUB $recipe_ppSub"; 233 237 $command .= " -recipe PSPHOT $recipe_psphot"; 234 $command .= " -recipe PPSTATS STACKSTATS" if $do_stats;;238 $command .= " -recipe PPSTATS $recipe_ppstats" if $do_stats;; 235 239 $command .= " -F PSPHOT.PSF.SAVE PSPHOT.PSF.SKY.SAVE"; 236 240 $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF";
Note:
See TracChangeset
for help on using the changeset viewer.
