Changeset 12225
- Timestamp:
- Mar 5, 2007, 11:50:50 AM (19 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
camera_exp.pl (modified) (2 diffs)
-
chip_imfile.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r12213 r12225 33 33 use Pod::Usage qw( pod2usage ); 34 34 35 my ($exp_id, $cam_id, $ camera, $dbname, $workdir, $no_update, $no_op);35 my ($exp_id, $cam_id, $recipe, $camera, $dbname, $workdir, $no_update, $no_op); 36 36 GetOptions( 37 37 'exp_id=s' => \$exp_id, # Exposure identifier 38 38 'cam_id=s' => \$cam_id, # Camtool identifier 39 'recipe=s' => \$recipe, # Recipe to use 39 40 'camera|c=s' => \$camera, # Camera 40 41 'dbname|d=s' => \$dbname, # Database name … … 234 235 235 236 unless ($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 " . 238 238 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev " . 239 239 "-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 36 36 $class_id, # Class identifier 37 37 $input, # Input FITS file 38 $recipe, # Recipe to use 38 39 $camera, # Camera 39 40 $dbname, # Database name … … 47 48 'class_id=s' => \$class_id, 48 49 'uri|u=s' => \$input, 50 'recipe=s' => \$recipe, 49 51 'camera|c=s' => \$camera, 50 52 'dbname|d=s' => \$dbname, # Database name … … 141 143 $command .= " -chip_id $chip_id"; 142 144 $command .= " -class_id $class_id"; 143 $command .= " -recip " . RECIPE;144 145 $command .= " -uri $outputImage"; 145 146 $command .= " -path_base $outputRoot";
Note:
See TracChangeset
for help on using the changeset viewer.
