Changeset 19294
- Timestamp:
- Aug 29, 2008, 2:28:05 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/camera_exp.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r19261 r19294 159 159 160 160 # XXX we perform astrometry iff photometry output exists 161 my $chipObjects;162 161 my $chipObjectsExist = 0; 163 162 foreach my $file (@$files) { … … 167 166 # If there is only one chip, we use this name for the input to addstar 168 167 # we expect the chip analysis stage to produce psphot output (cmf file) and two binned images 169 $chipObjects = $ipprc->filename("PSPHOT.OUTPUT", $file->{path_base}, $class_id); 168 my $chipObjects = $ipprc->filename("PSPHOT.OUTPUT", $file->{path_base}, $class_id); 169 170 # if any of the output chip photometry files exist, we can run psastro / addstar below 171 if ($ipprc->file_exists($chipObjects)) { 172 $chipObjectsExist = 1; 173 } else { 174 if ($verbose) { print "skipping $chipObjects (not found)\n"; } 175 next; 176 } 177 170 178 print $list1File ($ipprc->filename("PPIMAGE.BIN1", $file->{path_base}, $class_id) . "\n"); 171 179 print $list2File ($ipprc->filename("PPIMAGE.BIN2", $file->{path_base}, $class_id) . "\n"); 172 180 print $list3File ($ipprc->file_resolve($chipObjects, 0) . "\n"); 173 174 # if any of the output chip photometry files exist, we can run psastro / addstar below175 if ($ipprc->file_exists($chipObjects)) {176 $chipObjectsExist = 1;177 }178 181 } 179 182 close $list1File;
Note:
See TracChangeset
for help on using the changeset viewer.
