Changeset 14276
- Timestamp:
- Jul 17, 2007, 3:50:49 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r14258 r14276 88 88 89 89 # Identify the input and the template 90 my ($input, $inputMask, $input Path); # Input fileand path91 my ($template, $templateMask, $template Path); # Template fileand path90 my ($input, $inputMask, $inputWeight, $inputPath); # Input files and path 91 my ($template, $templateMask, $templateWeight, $templatePath); # Template files and path 92 92 my $tess_id; # Tesselation identifier 93 93 my $skycell_id; # Skycell identifier … … 99 99 if ($file->{warp_id} == 0) { 100 100 $templateMask = "PPSTACK.OUTPUT.MASK"; 101 $templateWeight = "PPSTACK.OUTPUT.WEIGHT"; 101 102 } else { 102 103 $templateMask = "PSWARP.OUTPUT.MASK"; 104 $templateWeight = "PSWARP.OUTPUT.WEIGHT"; 103 105 } 104 106 } else { … … 107 109 if ($file->{warp_id} == 0) { 108 110 $inputMask = "PPSTACK.OUTPUT.MASK"; 111 $inputWeight = "PPSTACK.OUTPUT.WEIGHT"; 109 112 } else { 110 113 $inputMask = "PSWARP.OUTPUT.MASK"; 114 $inputWeight = "PSWARP.OUTPUT.WEIGHT"; 111 115 } 112 116 } … … 138 142 $templateMask = $ipprc->filename($templateMask, $templatePath); 139 143 $inputMask = $ipprc->filename($inputMask, $inputPath); 144 $templateWeight = $ipprc->filename($templateWeight, $templatePath); 145 $inputWeight = $ipprc->filename($inputWeight, $inputPath); 140 146 141 147 &my_die("Couldn't find input: $template", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($template); 142 148 &my_die("Couldn't find input: $templateMask", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateMask); 149 &my_die("Couldn't find input: $templateWeight", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateWeight); 143 150 &my_die("Couldn't find input: $input", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($input); 144 151 &my_die("Couldn't find input: $inputMask", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputMask); 152 &my_die("Couldn't find input: $inputWeight", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputWeight); 145 153 146 154 # Get the output filenames … … 149 157 my $outputName = $ipprc->filename("PPSUB.OUTPUT", $outputRoot); 150 158 my $outputMask = $ipprc->filename("PPSUB.OUTPUT.MASK", $outputRoot); 159 my $outputWeight = $ipprc->filename("PPSUB.OUTPUT.WEIGHT", $outputRoot); 151 160 #my $bin1Name = $ipprc->filename("PPSUB.BIN1", $outputRoot); 152 161 #my $bin2Name = $ipprc->filename("PPSUB.BIN2", $outputRoot); … … 164 173 $command .= " -inmask $inputMask"; 165 174 $command .= " -refmask $templateMask"; 175 $command .= " -inweight $inputWeight"; 176 $command .= " -refweight $templateWeight"; 166 177 $command .= " -stats $outputStats"; 167 178 $command .= " -recipe PPSTATS WARPSTATS"; … … 175 186 &my_die("Couldn't find expected output file: $outputName", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputName); 176 187 &my_die("Couldn't find expected output file: $outputMask", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask); 188 &my_die("Couldn't find expected output file: $outputWeight", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputWeight); 177 189 # &my_die("Couldn't find expected output file: $bin1Name", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin1Name); 178 190 # &my_die("Couldn't find expected output file: $bin2Name", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin2Name);
Note:
See TracChangeset
for help on using the changeset viewer.
