Changeset 9101
- Timestamp:
- Oct 2, 2006, 12:30:17 PM (20 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
detrend_norm_calc.pl (modified) (1 diff)
-
detrend_stack.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_calc.pl
r9097 r9101 45 45 my $files; # The input files 46 46 { 47 my $command = "$dettool -processed -unmask -det_id $detId -iteration $iter"; # Command to run47 my $command = "$dettool -processedimfile -unmask -det_id $detId -iteration $iter"; # Command to run 48 48 my @command = split /\s+/, $command; 49 49 my ( $stdin, $stdout, $stderr ); # Buffers for running program 50 50 print "Running [$command]...\n"; 51 51 run \@command, \$stdin, \$stdout, \$stderr or 52 die "Unable to perform dettool -processed -unmask on detrend $detId/$iter: $?";52 die "Unable to perform dettool -processedimfile -unmask on detrend $detId/$iter: $?"; 53 53 print $stdout . "\n"; 54 54 -
trunk/ippScripts/scripts/detrend_stack.pl
r9091 r9101 64 64 my $files; # Array of files to be stacked 65 65 { 66 my $command = "$dettool -processed -det_id $det_id -iteration $iter -class_id $class_id"; # Command to run66 my $command = "$dettool -processedimfile -det_id $det_id -iteration $iter -class_id $class_id"; # Command to run 67 67 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 68 68 run(command => $command, verbose => 1); 69 die "Unable to perform dettool -processed : $error_code\n" if not $success;69 die "Unable to perform dettool -processedimfile: $error_code\n" if not $success; 70 70 my $metadata = $mdcParser->parse(join "", @$stdout_buf) 71 71 or die "unable to parse metadata config doc";
Note:
See TracChangeset
for help on using the changeset viewer.
