Changeset 17250
- Timestamp:
- Mar 31, 2008, 1:22:44 PM (18 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
detrend_norm_exp.pl (modified) (2 diffs)
-
detrend_stack.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_exp.pl
r16563 r17250 48 48 'no-op' => \$no_op, 49 49 ) or pod2usage( 2 ); 50 50 $verbose = 1; 51 51 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 52 52 pod2usage( -msg => "Required options: --det_id --iteration --camera --det_type --outroot", … … 186 186 my $command = "$dettool -addprocessedimfile"; 187 187 $command .= " -det_id $det_id"; 188 $command .= " -iter $iter"; 188 # this option seems to have been removed 189 # $command .= " -iter $iter"; 189 190 $command .= " -code $exit_code"; 190 191 $command .= " -dbname $dbname" if defined $dbname; -
trunk/ippScripts/scripts/detrend_stack.pl
r17241 r17250 81 81 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser 82 82 83 # Look for programs we need 84 my $missing_tools; 85 my $dettool = can_run('dettool') or (warn "Can't find dettool" and $missing_tools = 1); 86 my $ppMerge = can_run('ppMerge') or (warn "Can't find ppMerge" and $missing_tools = 1); 87 if ($missing_tools) { 88 warn("Can't find required tools."); 89 exit($PS_EXIT_CONFIG_ERROR); 90 } 91 83 92 # The output file rule name depends on the detrend type 84 93 my $FILERULES = { 'FLATMASK' => 'PPMERGE.OUTPUT.MASK', … … 96 105 &my_die("Unrecognised detrend type: $det_type", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless defined $output_filerule; 97 106 98 # Look for programs we need99 my $missing_tools;100 my $dettool = can_run('dettool') or (warn "Can't find dettool" and $missing_tools = 1);101 my $ppMerge = can_run('ppMerge') or (warn "Can't find ppMerge" and $missing_tools = 1);102 if ($missing_tools) {103 warn("Can't find required tools.");104 exit($PS_EXIT_CONFIG_ERROR);105 }106 107 107 108 # Get list of files to stack
Note:
See TracChangeset
for help on using the changeset viewer.
