Changeset 16019 for trunk/ippScripts/scripts/stack_skycell.pl
- Timestamp:
- Jan 6, 2008, 1:59:43 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/stack_skycell.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/stack_skycell.pl
r15387 r16019 121 121 UNLINK => !$save_temps ); 122 122 my $num = 0; 123 my $inputSources; # Sources to use as stamps123 # my $inputSources; # Sources to use as stamps 124 124 foreach my $file (@$files) { 125 125 print $listFile "INPUT$num\tMETADATA\n"; … … 144 144 print $listFile "END\n\n"; 145 145 146 unless (defined $inputSources) { 147 $inputSources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $file->{path_base}); 148 &my_die("Source file $inputSources does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $inputSources ); 149 } 146 # XXX details about supplying sources, etc, need to be specified in the libraries 147 #unless (defined $inputSources) { 148 #$inputSources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $file->{path_base}); 149 #&my_die("Source file $inputSources does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $inputSources ); 150 #} 150 151 151 152 } … … 157 158 my $outputMask = $ipprc->filename("PPSTACK.OUTPUT.MASK", $outputRoot); 158 159 my $outputWeight = $ipprc->filename("PPSTACK.OUTPUT.WEIGHT", $outputRoot); 159 my $outputSources = $ipprc->filename("PSPHOT.OUTPUT", $outputRoot);160 #my $outputSources = $ipprc->filename("PSPHOT.OUTPUT", $outputRoot, "none"); 160 161 #my $bin1Name = $ipprc->filename("PPSTACK.BIN1", $outputRoot); 161 162 #my $bin2Name = $ipprc->filename("PPSTACK.BIN2", $outputRoot); … … 170 171 $command .= " -stats $outputStats"; 171 172 $command .= " -recipe PPSTATS WARPSTATS"; 172 $command .= " -sources $inputSources";173 $command .= " -target 5.0";174 $command .= " -photometry";173 # $command .= " -sources $inputSources"; XXX : see above re recipes 174 # $command .= " -target 5.0"; 175 # $command .= " -photometry"; 175 176 $command .= " -tracedest $traceDest -log $logDest"; 176 177 177 print "\n\nWARNING: Convolving to 1 arcsec FWHM seeing!\n\n"; 178 # print "\n\nWARNING: Convolving to 1 arcsec FWHM seeing!\n\n"; 179 print "\n\nWARNING: NOT Convolving!\n\n"; 178 180 179 181 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 186 188 &my_die("Couldn't find expected output file: $outputMask", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask); 187 189 &my_die("Couldn't find expected output file: $outputWeight", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputWeight); 188 &my_die("Couldn't find expected output file: $outputSources", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources);189 # &my_die("Couldn't find expected output file: $bin1Name", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin1Name);190 # &my_die("Couldn't find expected output file: $bin2Name", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin2Name);190 # &my_die("Couldn't find expected output file: $outputSources", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources); 191 # &my_die("Couldn't find expected output file: $bin1Name", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin1Name); 192 # &my_die("Couldn't find expected output file: $bin2Name", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin2Name); 191 193 &my_die("Couldn't find expected output file: $outputStats", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputStats); 192 194
Note:
See TracChangeset
for help on using the changeset viewer.
