IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 22, 2008, 3:48:05 PM (18 years ago)
Author:
Paul Price
Message:

Using new JPEG recipe.

File:
1 edited

Legend:

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

    r19127 r19652  
    3737    'dbname|d=s'        => \$dbname, # Database name
    3838    'reduction=s'       => \$reduction, # Reduction class
    39     'threads=s'         => \$threads,   # Number of threads to use for ppImage
     39    'threads=s'         => \$threads,   # Number of threads to use for ppImage
    4040    'verbose'           => \$verbose,   # Print to stdout
    4141    'no-update'         => \$no_update,
     
    6565# Recipes to use as a function of detrend type
    6666$reduction = "DETREND" unless defined $reduction;
    67 my $recipe = $ipprc->reduction($reduction, uc($det_type) . '_PROCESS'); # Recipe name to use
     67my $ppimage_recipe = $ipprc->reduction($reduction, uc($det_type) . '_PROCESS'); # Recipe name for ppImage
     68my $jpeg_recipe = $ipprc->reduction($reduction, uc($det_type) . '_JPEG_IMAGE'); # Recipe name for JPEG
    6869
    6970# values to extract from output metadata and the stats to calculate
     
    104105unless ($no_op) {
    105106    my $command = "$ppImage -file $input_uri $outroot";
    106     $command .= " -recipe PPIMAGE $recipe";
     107    $command .= " -recipe PPIMAGE $ppimage_recipe";
     108    $command .= " -recipe JPEG $jpeg_recipe";
    107109    $command .= " -recipe PPSTATS CHIPSTATS";
    108110    $command .= " -stats $outputStats";
     
    175177        $command .= " -exp_id $exp_id";
    176178        $command .= " -class_id $class_id";
    177         $command .= " -path_base $outroot";
     179        $command .= " -path_base $outroot";
    178180        $command .= " -code $exit_code";
    179181        $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.