Changeset 37942 for trunk/ippScripts/scripts/psphot_fullforce_warp.pl
- Timestamp:
- Mar 3, 2015, 1:55:09 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/psphot_fullforce_warp.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/psphot_fullforce_warp.pl
r37053 r37942 124 124 } 125 125 126 # XXX: need to figure out whether this works or not 127 # We probably want to create a specific recipe that looks at the results 128 my $recipe_ppstats = 'WARPSTATS'; 129 my $doStats = 0; 126 my $doStats = 1; 130 127 131 128 print "reduction: $reduction\n"; … … 166 163 167 164 my $cmdflags = ""; 165 my $quality = 0; 168 166 169 167 # Perform psphotFullForce … … 182 180 if ($doStats) { 183 181 $command .= " -stats $outputStats"; 184 $command .= " -recipe PPSTATS $recipe_ppstats";185 182 } 186 183 $command .= " -F PSPHOT.OUTPUT PSPHOT.OUT.CMF.MEF"; … … 198 195 } 199 196 200 # Stats: TODO201 197 if ($doStats) { 202 198 check_output($outputStats, 1); 203 199 my $outputStatsReal = $ipprc->file_resolve($outputStats); 204 200 205 # measure chip stats201 # analyze the stats file 206 202 $command = "$ppStatsFromMetadata $outputStatsReal - WARP_SKYCELL"; 207 203 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 216 212 chomp $cmdflags; 217 213 } 218 my ($quality) = $cmdflags =~ /-quality (\d+)/; # Quality flag 219 220 if (!$quality) { 221 check_output($outputSources, 1); 222 } 214 ($quality) = $cmdflags =~ /-quality (\d+)/; # Quality flag 215 223 216 } else { 224 217 print "Not executing: $command\n"; 225 218 } 219 } 220 221 if (!$quality) { 222 check_output($outputSources, 1); 226 223 } 227 224
Note:
See TracChangeset
for help on using the changeset viewer.
