IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2006, 9:35:47 AM (20 years ago)
Author:
Paul Price
Message:

Changing name conventions to match those in doc/ippTools/filenames.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/detrend_reject_imfile.pl

    r8963 r9004  
    9696
    9797# Generate the file list, and get the statistics
    98 my $outputName = $exp_id . '_' . $det_id . '_' . $iter; # Root output name
    99 my $list1Name = $outputName . '_jpeg1.list'; # Name for the input file list for binning 1
    100 my $list2Name = $outputName . '_jpeg2.list'; # Name for the input file list for binning 2
     98my $outputRoot = $exp_id . '.detresid.' . $det_id . '.' . $iter; # Root output name
     99my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1
     100my $list2Name = $outputRoot . '.b2.list'; # Name for the input file list for binning 2
    101101my @means;                      # Array of means
    102102my @stdevs;                     # Array of stdevs
     
    113113
    114114# Output products --- need to synch with the camera configuration!
    115 my $jpeg1Name = $outputName . ".b1.jpg"; # Binned JPEG #1
    116 my $jpeg2Name = $outputName . ".b2.jpg"; # Binned JPEG #2
     115my $jpeg1Name = $outputRoot . ".b1.jpg"; # Binned JPEG #1
     116my $jpeg2Name = $outputRoot . ".b2.jpg"; # Binned JPEG #2
    117117
    118118# Make the jpeg for binning 1
    119119{
    120     my $command = "$ppImage -list $list1Name $outputName -recipe PPIMAGE " . RECIPE1; # Command to run
     120    my $command = "$ppImage -list $list1Name $outputRoot -recipe PPIMAGE " . RECIPE1; # Command to run
    121121    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    122122        run(command => $command, verbose => 1);
     
    126126# Make the jpeg for binning 2
    127127{
    128     my $command = "$ppImage -list $list2Name $outputName -recipe PPIMAGE " . RECIPE2; # Command to run
     128    my $command = "$ppImage -list $list2Name $outputRoot -recipe PPIMAGE " . RECIPE2; # Command to run
    129129    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    130130        run(command => $command, verbose => 1);
Note: See TracChangeset for help on using the changeset viewer.