IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 5:20:29 PM (17 years ago)
Author:
watersc1
Message:

Finished up my edits to the detrend cleanup, and some changes to my
copy of burntool and the pslib astrometry. Detrend cleanup has not
been tested yet. That's up next.

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/pstamp/scripts/dquery_finish.pl

    r19221 r24951  
    2020use PS::IPP::Config qw( :standard );
    2121
    22 my ( $req_id, $req_name, $req_file, $product, $dbname, $verbose, $save_temps );
     22my ( $req_id, $req_name, $req_file, $product, $dbname, $dbserver, $verbose, $save_temps );
    2323
    2424GetOptions(
     
    2828           'product=s'  => \$product,
    2929           'dbname=s'   => \$dbname,
     30           'dbserver=s' => \$dbserver,
    3031           'verbose'    => \$verbose,
    3132           'save-temps' => \$save_temps,
     
    5657my $outputDataStoreRoot = metadataLookupStr($ipprc->{_siteConfig}, 'DATA_STORE_ROOT');
    5758exit ($PS_EXIT_CONFIG_ERROR) unless defined $outputDataStoreRoot; # lookup failure outputs a message
     59
     60if (!$dbserver) {
     61    $dbserver = metadataLookupStr($ipprc->{_siteConfig}, 'PS_DBSERVER');
     62}
    5863
    5964if ($product eq "NULL") {
     
    8994    my $command = "$pstamptool -listjob -req_id $req_id";
    9095    $command .= " -dbname $dbname" if $dbname;
     96    $command .= " -dbserver $dbserver" if $dbserver;
    9197    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    9298        run(command => $command, verbose => $verbose);
     
    149155    $command   .= " -fault $fault" if $fault;
    150156    $command   .= " -dbname $dbname" if $dbname;
     157    $command   .= " -dbserver $dbserver" if $dbserver;
    151158    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    152159        run(command => $command, verbose => $verbose);
Note: See TracChangeset for help on using the changeset viewer.