- Timestamp:
- Jan 14, 2010, 10:57:53 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/stack_skycell.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/stack_skycell.pl
r26105 r26600 165 165 } 166 166 my $convolve = metadataLookupBool($recipe, 'CONVOLVE'); # Convolve inputs? 167 my $photometry = metadataLookupBool($recipe, 'PHOTOMETRY'); # perform photometry? 167 168 168 169 … … 205 206 my $outputMask = $ipprc->filename("PPSTACK.OUTPUT.MASK", $outroot); 206 207 my $outputWeight = $ipprc->filename("PPSTACK.OUTPUT.VARIANCE", $outroot); 207 my $outputSources = $ipprc->filename("PSPHOT.OUT.CMF.MEF", $outroot); ## this must be consistent with the value in diff_skycell.pl:101 208 my $outputSources = $photometry ? $ipprc->filename("PSPHOT.OUT.CMF.MEF", $outroot) : undef; ## this must be consistent with the value in diff_skycell.pl:101 209 208 210 ## use an explicit stack name for psphot output objects 209 211 #my $bin1Name = $ipprc->filename("PPSTACK.BIN1", $outroot); … … 236 238 $command .= " -F SOURCE.PLOT.PSFMODEL SOURCE.PLOT.SKY.PSFMODEL"; 237 239 $command .= " -F SOURCE.PLOT.APRESID SOURCE.PLOT.SKY.APRESID"; 238 $command .= " -photometry";239 240 $command .= " -threads $threads" if defined $threads; 240 241 $command .= " -debug-stack" if defined $debug; … … 282 283 &my_die("Couldn't find expected output file: $outputMask", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask); 283 284 &my_die("Couldn't find expected output file: $outputWeight", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputWeight); 284 &my_die("Couldn't find expected output file: $outputSources", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources); 285 if ($photometry) { 286 &my_die("Couldn't find expected output file: $outputSources", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources); 287 } 285 288 # &my_die("Couldn't find expected output file: $bin1Name", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin1Name); 286 289 # &my_die("Couldn't find expected output file: $bin2Name", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin2Name);
Note:
See TracChangeset
for help on using the changeset viewer.
