IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14411


Ignore:
Timestamp:
Aug 6, 2007, 11:04:32 AM (19 years ago)
Author:
Paul Price
Message:

Ensuring tasks are taken from the appropriate database.

File:
1 edited

Legend:

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

    r14170 r14411  
    4040# Process raw imfiles
    4141{
    42     my $command = "$dettool -toprocessedimfile";
     42    my $command = "$dettool -toprocessedimfile -dbname $dbname";
    4343    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    4444        run( command => $command, verbose => 1 );
     
    8484# Process raw exposures
    8585{
    86     my $command = "$dettool -toprocessedexp";
     86    my $command = "$dettool -toprocessedexp -dbname $dbname";
    8787    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    8888        run( command => $command, verbose => 1 );
     
    109109# Stack
    110110{
    111     my $command = "$dettool -tostacked";
     111    my $command = "$dettool -tostacked -dbname $dbname";
    112112    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    113113        run( command => $command, verbose => 1 );
     
    136136# Calculate normalisation
    137137{
    138     my $command = "$dettool -tonormalizedstat";
     138    my $command = "$dettool -tonormalizedstat -dbname $dbname";
    139139    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    140140        run( command => $command, verbose => 1 );
     
    159159# Apply normalisation
    160160{
    161     my $command = "$dettool -tonormalize";
     161    my $command = "$dettool -tonormalize -dbname $dbname";
    162162    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    163163        run( command => $command, verbose => 1 );
     
    186186# Examine normalised exposure
    187187{
    188     my $command = "$dettool -tonormalizedexp";
     188    my $command = "$dettool -tonormalizedexp -dbname $dbname";
    189189    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    190190        run( command => $command, verbose => 1 );
     
    213213# Get residuals
    214214{
    215     my $command = "$dettool -toresidimfile";
     215    my $command = "$dettool -toresidimfile -dbname $dbname";
    216216    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    217217        run( command => $command, verbose => 1 );
     
    262262# Reject based on imfiles
    263263{
    264     my $command = "$dettool -toresidexp";
     264    my $command = "$dettool -toresidexp -dbname $dbname";
    265265    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    266266        run( command => $command, verbose => 1 );
     
    288288# Reject based on exposures
    289289{
    290     my $command = "$dettool -residdetrun";
     290    my $command = "$dettool -residdetrun -dbname $dbname";
    291291    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    292292        run( command => $command, verbose => 1 );
Note: See TracChangeset for help on using the changeset viewer.