IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2007, 12:08:05 PM (19 years ago)
Author:
eugene
Message:

adding arguments for new metadata fields

File:
1 edited

Legend:

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

    r13643 r13652  
    213213# Add the result into the database
    214214unless ($no_update) {
    215     my $command = "$camtool -addprocessedexp -cam_id $cam_id -uri UNKNOWN -path_base $outputRoot " .
    216         "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev " .
    217         "-sigma_ra 0.0 -sigma_dec 0.0 -nastro 0 -zp_mean 0.0 -zp_stdev 0.0"; # Command to run
     215
     216    my $command = "$camtool -addprocessedexp";
     217    $command .= " -cam_id $cam_id -uri UNKNOWN -path_base $outputRoot";
     218    $command .= " -bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev";
     219    $command .= " -sigma_ra 0.0 -sigma_dec 0.0";
     220    $command .= " -zp_mean 0.0 -zp_stdev 0.0";
     221    $command .= " -fwhm 0.0 -fwhm_range 0.0";
     222    $command .= " -n_stars 0 -n_extended 0 -n_cr 0 -n_astrom 0";
    218223    $command .= " -dbname $dbname" if defined $dbname;
     224
    219225    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    220226        run(command => $command, verbose => 1);
Note: See TracChangeset for help on using the changeset viewer.