Changeset 31164
- Timestamp:
- Apr 4, 2011, 1:23:27 PM (15 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
ipp_apply_burntool_single.pl (modified) (1 prop)
-
staticsky.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_apply_burntool_single.pl
- Property svn:mergeinfo changed
-
trunk/ippScripts/scripts/staticsky.pl
r29063 r31164 148 148 # Recipes to use based on reduction class 149 149 $reduction = 'DEFAULT' unless defined $reduction; 150 my $recipe_psphot = $ipprc->reduction($reduction, 'STACKPHOT'); # Recipe to use for psphot 150 my $recipe_psphot = $ipprc->reduction($reduction, 'STACKPHOT_PSPHOT'); # Recipe to use for psphot 151 my $recipe_ppsub = $ipprc->reduction($reduction, 'STACKPHOT_PPSUB'); # Recipe to use for ppsub 152 my $recipe_ppstack = $ipprc->reduction($reduction, 'STACKPHOT_PPSTACK'); # Recipe to use for ppstack 151 153 unless ($recipe_psphot) { 152 154 &my_die("Couldn't find selected reduction for STACKPHOT: $reduction\n", $sky_id, $PS_EXIT_CONFIG_ERROR); 153 155 } 154 156 155 print "reduction: $reduction\n"; 156 print "recipe_psphot: $recipe_psphot\n"; 157 print "reduction: $reduction\n"; 158 print "recipe_psphot: $recipe_psphot\n"; 159 print "recipe_ppsub: $recipe_ppsub\n"; 160 print "recipe_ppstack: $recipe_ppstack\n"; 157 161 158 162 # my $cmdflags; … … 163 167 $command .= " -input $listName"; 164 168 $command .= " -threads $threads" if defined $threads; 165 $command .= " -recipe PSPHOT $recipe_psphot"; 169 $command .= " -recipe PSPHOT $recipe_psphot"; 170 $command .= " -recipe PPSUB $recipe_ppsub"; 171 $command .= " -recipe PPSTACK $recipe_ppstack"; 166 172 $command .= " -dumpconfig $configuration"; 167 173 $command .= " -tracedest $traceDest -log $logDest"; … … 206 212 my $outputSources = $ipprc->filename("PSPHOT.STACK.OUTPUT", $outroot, $i); 207 213 208 &my_die("Couldn't find expected output file: $outputName", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputName); 209 &my_die("Couldn't find expected output file: $outputMask", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask); 210 &my_die("Couldn't find expected output file: $outputVariance", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputVariance); 214 # XXX these are optional and not generated by default 215 # &my_die("Couldn't find expected output file: $outputName", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputName); 216 # &my_die("Couldn't find expected output file: $outputMask", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask); 217 # &my_die("Couldn't find expected output file: $outputVariance", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputVariance); 211 218 &my_die("Couldn't find expected output file: $outputSources", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources); 212 219 } … … 220 227 my $chisqVariance = $ipprc->filename("PSPHOT.CHISQ.VARIANCE", $outroot); 221 228 222 &my_die("Couldn't find expected output file: $chisqName", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqName); 223 &my_die("Couldn't find expected output file: $chisqMask", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqMask); 224 &my_die("Couldn't find expected output file: $chisqVariance", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqVariance); 229 # XXX check the recipe -- should we expect these to exist? 230 # &my_die("Couldn't find expected output file: $chisqName", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqName); 231 # &my_die("Couldn't find expected output file: $chisqMask", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqMask); 232 # &my_die("Couldn't find expected output file: $chisqVariance", $sky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($chisqVariance); 225 233 } 226 234 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
