IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12225


Ignore:
Timestamp:
Mar 5, 2007, 11:50:50 AM (19 years ago)
Author:
Paul Price
Message:

Chip and camera processing scripts take --recipe argument now to tell them how to process the data. The argument is currently not used, but it will define a 'recipe class' to be used in processing.

Location:
trunk/ippScripts/scripts
Files:
2 edited

Legend:

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

    r12213 r12225  
    3333use Pod::Usage qw( pod2usage );
    3434
    35 my ($exp_id, $cam_id, $camera, $dbname, $workdir, $no_update, $no_op);
     35my ($exp_id, $cam_id, $recipe, $camera, $dbname, $workdir, $no_update, $no_op);
    3636GetOptions(
    3737           'exp_id=s'          => \$exp_id, # Exposure identifier
    3838           'cam_id=s'          => \$cam_id, # Camtool identifier
     39           'recipe=s'          => \$recipe, # Recipe to use
    3940           'camera|c=s'        => \$camera, # Camera
    4041           'dbname|d=s'        => \$dbname, # Database name
     
    234235
    235236unless ($no_update) {
    236     my $command = "$camtool -addprocessedexp -cam_id $cam_id -uri UNKNOWN " .
    237         "-recip " . RECIPE1() . "," . RECIPE2() . " -path_base $outputRoot " .
     237    my $command = "$camtool -addprocessedexp -cam_id $cam_id -uri UNKNOWN -path_base $outputRoot " .
    238238        "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev " .
    239239        "-sigma_ra 0.0 -sigma_dec 0.0 -nastro 0 -zp_mean 0.0 -zp_stdev 0.0"; # Command to run
  • trunk/ippScripts/scripts/chip_imfile.pl

    r12213 r12225  
    3636    $class_id,                  # Class identifier
    3737    $input,                     # Input FITS file
     38    $recipe,                    # Recipe to use
    3839    $camera,                    # Camera
    3940    $dbname,                    # Database name
     
    4748           'class_id=s'    => \$class_id,
    4849           'uri|u=s'       => \$input,
     50           'recipe=s'      => \$recipe,
    4951           'camera|c=s'    => \$camera,
    5052           'dbname|d=s'    => \$dbname, # Database name
     
    141143    $command .= " -chip_id $chip_id";
    142144    $command .= " -class_id $class_id";
    143     $command .= " -recip " . RECIPE;
    144145    $command .= " -uri $outputImage";
    145146    $command .= " -path_base $outputRoot";
Note: See TracChangeset for help on using the changeset viewer.