IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.