Changeset 11394 for trunk/ippScripts/scripts/phase3.pl
- Timestamp:
- Jan 29, 2007, 1:11:35 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase3.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase3.pl
r11355 r11394 118 118 $workdir = $ipprc->convert_filename_absolute( $workdir ); 119 119 } else { 120 my $example = ${$files}[0]->{b1_uri}; # Example filename120 my $example = ${$files}[0]->{b1_uri}; # Example original root name 121 121 my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 122 122 $workdir = $dir; … … 137 137 # use the b1_uri as OUTPUT root and convert the filenames 138 138 # with ipprc->filename: 139 my $class ID= $file->{class_id};140 my $ fileRoot = $file->{b1_uri};141 print $list1File $ipprc->filename("PPIMAGE.BIN1", $ file->{b1_uri}, $classID);142 print $list2File $ipprc->filename("PPIMAGE.BIN2", $ file->{b1_uri}, $classID);143 print $list1File $ipprc->filename("PSPHOT.OUTPUT", $ file->{b1_uri}, $classID);144 print $list1File $ipprc->filename("PSASTRO.OUTPUT", $ file->{b1_uri}, $classID);139 my $class_id = $file->{class_id}; 140 my $origRoot = $ipprc->convert_filename_absolute( $file->{b1_uri} ); # Original root name 141 print $list1File $ipprc->filename("PPIMAGE.BIN1", $origRoot, $class_id); 142 print $list2File $ipprc->filename("PPIMAGE.BIN2", $origRoot, $class_id); 143 print $list1File $ipprc->filename("PSPHOT.OUTPUT", $origRoot, $class_id); 144 print $list1File $ipprc->filename("PSASTRO.OUTPUT", $origRoot, $class_id); 145 145 # XXX PSASTRO.OUTPUT is explicitly a CHIP output file 146 146 # XXX below the PSASTRO.OUTPUT must be an FPA output file … … 196 196 unless ($no_update) { 197 197 my $command = "$p3tool -addprocessedexp -exp_tag $exp_tag -uri UNKNOWN " . 198 "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $ jpeg1 -b2_uri $jpeg2" .198 "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $outputRoot " . 199 199 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev " . 200 200 "-sigma_ra 0.0 -sigma_dec 0.0 -nastro 0 -zp_mean 0.0 -zp_stdev 0.0"; # Command to run
Note:
See TracChangeset
for help on using the changeset viewer.
