Changeset 14258 for trunk/ippScripts/scripts/diff_skycell.pl
- Timestamp:
- Jul 16, 2007, 5:49:55 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r14246 r14258 88 88 89 89 # Identify the input and the template 90 my ($input, $input Path);# Input file and path91 my ($template, $template Path);# Template file and path90 my ($input, $inputMask, $inputPath); # Input file and path 91 my ($template, $templateMask, $templatePath); # Template file and path 92 92 my $tess_id; # Tesselation identifier 93 93 my $skycell_id; # Skycell identifier … … 97 97 $template = $file->{uri}; 98 98 $templatePath = $file->{path_base}; 99 if ($file->{warp_id} == 0) { 100 $templateMask = "PPSTACK.OUTPUT.MASK"; 101 } else { 102 $templateMask = "PSWARP.OUTPUT.MASK"; 103 } 99 104 } else { 100 105 $input = $file->{uri}; 101 106 $inputPath = $file->{path_base}; 107 if ($file->{warp_id} == 0) { 108 $inputMask = "PPSTACK.OUTPUT.MASK"; 109 } else { 110 $inputMask = "PSWARP.OUTPUT.MASK"; 111 } 102 112 } 103 113 if (defined $tess_id) { … … 118 128 $camera = $file->{camera}; 119 129 } 130 120 131 } 121 132 … … 125 136 $ipprc->define_camera($camera); 126 137 127 my $templateMask = $ipprc->filename("PSWARP.OUTPUT.MASK", $templatePath);128 my $inputMask = $ipprc->filename("PSWARP.OUTPUT.MASK", $inputPath);138 $templateMask = $ipprc->filename($templateMask, $templatePath); 139 $inputMask = $ipprc->filename($inputMask, $inputPath); 129 140 130 141 &my_die("Couldn't find input: $template", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($template);
Note:
See TracChangeset
for help on using the changeset viewer.
