Changeset 27062 for trunk/ippScripts/scripts/diff_skycell.pl
- Timestamp:
- Feb 24, 2010, 2:41:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r26939 r27062 107 107 # Both are zero, so stack stack diff; 108 108 unless ($use_convolved) { 109 $use_convolved = 0;109 $use_convolved = 0; 110 110 } 111 111 } … … 120 120 $templatePath = $file->{path_base}; 121 121 if ($file->{warp_id} == 0) { 122 if ($use_convolved) {123 $template = "PPSTACK.OUTPUT";124 $templateMask = "PPSTACK.OUTPUT.MASK";125 $templateVariance = "PPSTACK.OUTPUT.VARIANCE";126 }127 else {128 $template = "PPSTACK.UNCONV";129 $templateMask = "PPSTACK.UNCONV.MASK";130 $templateVariance = "PPSTACK.UNCONV.VARIANCE";131 }122 if ($use_convolved) { 123 $template = "PPSTACK.OUTPUT"; 124 $templateMask = "PPSTACK.OUTPUT.MASK"; 125 $templateVariance = "PPSTACK.OUTPUT.VARIANCE"; 126 } 127 else { 128 $template = "PPSTACK.UNCONV"; 129 $templateMask = "PPSTACK.UNCONV.MASK"; 130 $templateVariance = "PPSTACK.UNCONV.VARIANCE"; 131 } 132 132 $templateSources = "PSPHOT.OUT.CMF.MEF"; ## this must be consistent with the value in stack_skycell.pl:161 133 133 # template is a stack so it doesn't need to be magicked … … 135 135 ## use an explicit stack name for psphot output objects 136 136 } else { 137 $template = "PSWARP.OUTPUT";137 $template = "PSWARP.OUTPUT"; 138 138 $templateMask = "PSWARP.OUTPUT.MASK"; 139 139 $templateVariance = "PSWARP.OUTPUT.VARIANCE"; … … 146 146 $inputMagic = $file->{magicked}; # if input is a stack the output can't be "magicked" 147 147 if ($file->{warp_id} == 0) { 148 if ($use_convolved) {149 $input = "PPSTACK.OUTPUT";150 $inputMask = "PPSTACK.OUTPUT.MASK";151 $inputVariance = "PPSTACK.OUTPUT.VARIANCE";152 }153 else {154 $input = "PPSTACK.UNCONV";155 $inputMask = "PPSTACK.UNCONV.MASK";156 $inputVariance = "PPSTACK.UNCONV.VARIANCE";157 }148 if ($use_convolved) { 149 $input = "PPSTACK.OUTPUT"; 150 $inputMask = "PPSTACK.OUTPUT.MASK"; 151 $inputVariance = "PPSTACK.OUTPUT.VARIANCE"; 152 } 153 else { 154 $input = "PPSTACK.UNCONV"; 155 $inputMask = "PPSTACK.UNCONV.MASK"; 156 $inputVariance = "PPSTACK.UNCONV.VARIANCE"; 157 } 158 158 $inputSources = "PSPHOT.OUT.CMF.MEF"; ## this must be consistent with the value in stack_skycell.pl:161 159 159 } else { 160 $input = "PSWARP.OUTPUT";160 $input = "PSWARP.OUTPUT"; 161 161 $inputMask = "PSWARP.OUTPUT.MASK"; 162 162 $inputVariance = "PSWARP.OUTPUT.VARIANCE"; … … 312 312 313 313 my $outputStatsReal = $ipprc->file_resolve($outputStats); 314 &my_die("Couldn't find expected output file: $outputStats", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless -f $outputStatsReal;314 &my_die("Couldn't find expected output file: $outputStats", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputStatsReal); 315 315 316 316 # measure chip stats … … 341 341 &my_die("Couldn't find expected output file: $inverseVariance", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inverseVariance); 342 342 &my_die("Couldn't find expected output file: $inverseSources", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inverseSources); 343 if ($run_state eq 'new') { 344 &my_die("Couldn't find expected output file: $configuration", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($configuration); 345 } 343 346 } 344 347 }
Note:
See TracChangeset
for help on using the changeset viewer.
