IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 12, 2008, 4:20:57 PM (18 years ago)
Author:
eugene
Message:

convert chiphost tables to ipphosts tables, add lookups for skycellID to host, add in the redirect-output option to stack and diff

File:
1 edited

Legend:

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

    r19464 r19545  
    2525use Pod::Usage qw( pod2usage );
    2626
    27 my ($diff_id, $dbname, $threads, $outroot, $verbose, $no_update, $no_op);
     27my ($diff_id, $dbname, $threads, $outroot, $verbose, $no_update, $no_op, $redirect);
    2828GetOptions(
    2929    'diff_id|d=s'       => \$diff_id, # Diff identifier
     
    3434    'no-update'         => \$no_update, # Don't update the database?
    3535    'no-op'             => \$no_op, # Don't do any operations?
     36    'redirect-output'   => \$redirect,
    3637) or pod2usage( 2 );
    3738
     
    4243          ) unless defined $diff_id
    4344    and defined $outroot;
     45
     46# XXX camera is not known here; cannot use filerules...
     47# my $logDest = $ipprc->filename("LOG.EXP", $outroot);
     48
     49my $logDest = "$outroot.log";
     50$ipprc->redirect_output($logDest) if $redirect;
    4451
    4552my $STATS =
     
    183190my $outputStats = $ipprc->filename("SKYCELL.STATS", $outroot);
    184191my $traceDest = $ipprc->filename("TRACE.EXP", $outroot);
    185 my $logDest = $ipprc->filename("LOG.EXP", $outroot);
    186192
    187193# Perform subtraction
Note: See TracChangeset for help on using the changeset viewer.