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/dqueryparse.pl

    r19221 r24951  
    2626                       );
    2727
    28 my ($req_file, $req_id, $out_dir, $product, $mode, $dbname, $verbose, $save_temps);
     28my ($req_file, $req_id, $out_dir, $product, $mode, $dbname, $dbserver, $verbose, $save_temps);
    2929
    3030#
     
    3939        'mode=s'          =>      \$mode,
    4040        'dbname=s'        =>      \$dbname,
     41        'dbserver=s'      =>      \$dbserver,
    4142        'verbose'         =>      \$verbose,
    4243        'save-temps'      =>      \$save_temps,
     
    6970    warn("Can't find required tools.");
    7071    exit ($PS_EXIT_CONFIG_ERROR);
     72}
     73
     74if (!$dbserver) {
     75    my $ipprc = = PS::IPP::Config->new();
     76    $dbserver =  metadataLookupStr($ipprc->{_siteConfig}, 'PS_DBSERVER');
    7177}
    7278
     
    131137    $command .= " -rownum 0";
    132138    $command .= " -dbname $dbname" if $dbname;
     139    $command .= " -dbserver $dbserver" if $dbserver;
    133140
    134141    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    153160    $command .= " -fault $result" if $result;
    154161    $command .= " -dbname $dbname" if $dbname;
     162    $command .= " -dbserver $dbserver" if $dbserver;
    155163
    156164    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.