IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 21, 2008, 4:56:26 PM (18 years ago)
Author:
eugene
Message:

making chip/host and nebulous upgrades

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080121/ippScripts/scripts/detrend_norm_calc.pl

    r15616 r16176  
    3232
    3333# Parse command-line arguments
    34 my ($det_id, $iter, $detType, $workdir, $dbname, $no_update, $no_op);
     34my ($det_id, $iter, $detType, $outroot, $dbname, $no_update, $no_op);
    3535GetOptions(
    3636        'det_id|d=s'    => \$det_id,    # Detrend id                         
    3737        'iteration|i=s' => \$iter,      # Iteration                         
    3838        'det_type|t=s'  => \$detType,   # Detrend type                       
    39         'workdir|w=s'   => \$workdir,   # Working directory for output files
     39        'outroot|w=s'   => \$outroot,   # output file base name
    4040        'dbname|d=s'    => \$dbname,    # Database name                     
    4141        'no-update'     => \$no_update, # Don't update the database?         
     
    4444
    4545pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    46 pod2usage( -msg => "Required options --det_id --iteration --det_type",
     46pod2usage( -msg => "Required options --det_id --iteration --det_type --outroot",
    4747           -exitval => 3,
    48            )
    49     unless defined $det_id
    50     and defined $iter
    51     and defined $detType;
     48           ) unless
     49    defined $det_id  and
     50    defined $iter    and
     51    defined $detType and
     52    defined $outroot;
    5253
    5354use constant STATISTIC => 'bg'; # Background statistic to use from the database
Note: See TracChangeset for help on using the changeset viewer.