Changeset 27290 for trunk/ippScripts/scripts/camera_exp.pl
- Timestamp:
- Mar 15, 2010, 5:36:47 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/camera_exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r27180 r27290 171 171 172 172 # XXX we perform astrometry iff photometry output exists 173 my $chipObjectsExist = 0;174 173 my @outMasks; # Names of output masks 175 174 foreach my $file (@$files) { … … 181 180 my $chipObjects = $ipprc->filename("PSPHOT.OUTPUT", $file->{path_base}, $class_id); 182 181 my $chipMask = $ipprc->filename("PPIMAGE.CHIP.MASK", $file->{path_base}, $class_id); 183 184 # if any of the output chip photometry files exist, we can run psastro / addstar below185 if ($ipprc->file_exists($chipObjects)) {186 $chipObjectsExist = 1;187 } else {188 if ($verbose) { print "skipping $chipObjects (not found)\n"; }189 next;190 }191 182 192 183 print $list1File ($ipprc->filename("PPIMAGE.BIN1", $file->{path_base}, $class_id) . "\n"); … … 261 252 } 262 253 263 # only run psastro / addstar if any of the output chip astrometry files exist (should we test for successful astrometry?) 264 if ($chipObjectsExist) { 254 { 265 255 # run psastro on the chipObjects, producing fpaObjects 266 256 my $command;
Note:
See TracChangeset
for help on using the changeset viewer.
