Changeset 17250 for trunk/ippScripts/scripts/detrend_stack.pl
- Timestamp:
- Mar 31, 2008, 1:22:44 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_stack.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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.
