Changeset 18482 for trunk/ippScripts/scripts/stack_skycell.pl
- Timestamp:
- Jul 11, 2008, 12:10:05 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
r17943 r18482 128 128 my $mask = $ipprc->filename( "PSWARP.OUTPUT.MASK", $file->{path_base} ); # Mask name 129 129 my $weight = $ipprc->filename( "PSWARP.OUTPUT.WEIGHT", $file->{path_base} ); # Weight name 130 my $psf = $ipprc->filename( "PSPHOT.PSF.SAVE", $file->{path_base} ); # Weight name 130 my $psf = $ipprc->filename( "PSPHOT.PSF.SAVE", $file->{path_base} ); # PSF name 131 my $sources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $file->{path_base}); # Sources name 131 132 132 133 &my_die("Image $image does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $image ); … … 134 135 &my_die("Weight $weight does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $weight ); 135 136 &my_die("PSF $psf does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $psf ); 137 &my_die("Sources $sources does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $sources ); 136 138 137 139 print $listFile "\tIMAGE\tSTR\t" . $image . "\n"; … … 139 141 print $listFile "\tWEIGHT\tSTR\t" . $weight . "\n"; 140 142 print $listFile "\tPSF\tSTR\t" . $psf . "\n"; 143 print $listFile "\tSOURCES\tSTR\t" . $sources . "\n"; 141 144 142 145 ### XXX NEED TO UPDATE THESE appropriately … … 144 147 145 148 print $listFile "END\n\n"; 146 147 # XXX details about supplying sources, etc, need to be specified in the libraries148 unless (defined $inputSources) {149 $inputSources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $file->{path_base});150 &my_die("Source file $inputSources does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $inputSources );151 }152 153 149 } 154 150 … … 170 166 $command .= " -recipe PPSUB STACK"; 171 167 $command .= " -recipe PPSTATS WARPSTATS"; 172 $command .= " -sources $inputSources";173 168 $command .= " -photometry"; 174 169 $command .= " -tracedest $traceDest -log $logDest";
Note:
See TracChangeset
for help on using the changeset viewer.
