IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9145


Ignore:
Timestamp:
Oct 3, 2006, 10:04:48 AM (20 years ago)
Author:
Paul Price
Message:

Fixing so they compile.

Location:
trunk/ippScripts/scripts
Files:
5 edited

Legend:

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

    r9141 r9145  
    5656my $b1name = $outputRoot . '.' . $classId . '.b1.fits'; # Output file with binning 1
    5757my $b2name = $outputRoot . '.' . $classId . '.b2.fits'; # Output file with binning 2
    58 my $statName = $outputRoot . '.' . $classId . '.stats'; # Statistics file
     58my $statsName = $outputRoot . '.' . $classId . '.stats'; # Statistics file
    5959
    6060# Run ppArith
    6161{
    62     my $command = "$ppImage -file $input $outputRoot -norm $value -stat $statName -recipe PPIMAGE " . RECIPE(); # Command to run
     62    my $command = "$ppImage -file $input $outputRoot -norm $value -stat $statsName -recipe PPIMAGE " . RECIPE(); # Command to run
    6363    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    6464        run(command => $command, verbose => 1);
     
    6767    die "Can't find expected output file: $b1name\n" if not -e $b1name;
    6868    die "Can't find expected output file: $b2name\n" if not -e $b2name;
    69     die "Can't find expected output file: $statName\n" if not -e $statName;
     69    die "Can't find expected output file: $statsName\n" if not -e $statsName;
    7070}
    7171
  • trunk/ippScripts/scripts/detrend_norm_exp.pl

    r9135 r9145  
    2929    -exitval => 3,
    3030) unless defined $det_id
    31      and defined $iteration
     31     and defined $iter
    3232     and defined $camera
    3333     and defined $det_type;
     
    8989
    9090# Generate the file list, and get the statistics
    91 my $outputRoot = $camera . '.' . $detType . '.norm.' . $detId . '.' . $iter; # Root output name
     91my $outputRoot = $camera . '.' . $det_type . '.norm.' . $det_id . '.' . $iter; # Root output name
    9292my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1
    9393my $list2Name = $outputRoot . '.b2.list'; # Name for the input file list for binning 2
  • trunk/ippScripts/scripts/detrend_process_exp.pl

    r9133 r9145  
    2727    -exitval => 3,
    2828) unless defined $det_id
    29      and defined $exp_tag
    30      and defined $det_type;
     29    and defined $exp_tag;
    3130
    3231use constant RECIPE1 => 'PPIMAGE_J1'; # Recipe to use for ppImage to make JPEGs
     
    8685
    8786# Generate the file list, and get the statistics
    88 my $outputRoot = $exp_tag . '.detproc.' . $det_id . '.' . $iter; # Root output name
     87my $outputRoot = $exp_tag . '.detproc.' . $det_id; # Root output name
    8988my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1
    9089my $list2Name = $outputRoot . '.b2.list'; # Name for the input file list for binning 2
     
    124123# Add the result into the database
    125124unless ($no_update) {
    126     my $command = "$dettool -addprocessedexp -det_id $det_id -iteration $iter -exp_tag $exp_tag " .
     125    my $command = "$dettool -addprocessedexp -det_id $det_id -exp_tag $exp_tag " .
    127126        "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $jpeg1Name -b2_uri $jpeg2Name " .
    128127        "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run
  • trunk/ippScripts/scripts/detrend_stack.pl

    r9101 r9145  
    1515use Pod::Usage qw( pod2usage );
    1616
    17 my ($det_id, $iter, $class_id, $det_type, $camera);
     17my ($det_id, $iter, $class_id, $det_type, $camera, $no_update);
    1818GetOptions(
    1919    'det_id|d=s'        => \$det_id,
  • trunk/ippScripts/scripts/phase0_exp.pl

    r9098 r9145  
    1111
    1212use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
     13use Pod::Usage qw( pod2usage );
    1314
    1415my ($exptag, $no_update);
Note: See TracChangeset for help on using the changeset viewer.