Changeset 20652 for trunk/ippScripts/scripts/camera_exp.pl
- Timestamp:
- Nov 10, 2008, 2:17:14 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/camera_exp.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r19971 r20652 145 145 my ($list3File, $list3Name) = tempfile( "/tmp/$exp_tag.cm.$cam_id.b3.list.XXXX", UNLINK => !$save_temps ); # For astrometry 146 146 147 ### XXX for the moment, always generate the bright-star mask 148 my ($list4File, $list4Name) = tempfile( "/tmp/$exp_tag.cm.$cam_id.b4.list.XXXX", UNLINK => !$save_temps ); # For astrometry 149 147 150 # XXX we perform astrometry iff photometry output exists 148 151 my $chipObjectsExist = 0; … … 154 157 # we expect the chip analysis stage to produce psphot output (cmf file) and two binned images 155 158 my $chipObjects = $ipprc->filename("PSPHOT.OUTPUT", $file->{path_base}, $class_id); 159 my $chipMask = $ipprc->filename("PPIMAGE.CHIP.MASK", $file->{path_base}, $class_id); 156 160 157 161 # if any of the output chip photometry files exist, we can run psastro / addstar below … … 166 170 print $list2File ($ipprc->filename("PPIMAGE.BIN2", $file->{path_base}, $class_id) . "\n"); 167 171 print $list3File ($ipprc->file_resolve($chipObjects, 0) . "\n"); 172 print $list4File ($ipprc->file_resolve($chipMask, 0) . "\n"); 168 173 } 169 174 close $list1File; 170 175 close $list2File; 171 176 close $list3File; 177 close $list4File; 172 178 173 179 # Output products … … 234 240 # run psastro on the chipObjects, producing fpaObjects 235 241 my $command; 236 $command = "$psastro -list $list3Name $outroot";242 $command = "$psastro -list $list3Name -masklist $list4Name $outroot"; 237 243 $command .= " -tracedest $traceDest -log $logDest"; 238 244 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
