IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 7, 2023, 4:50:38 PM (3 years ago)
Author:
eugene
Message:

rework to use a stage/iteration tracked by the rawfix database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/fix_chip_failures.pl

    r42442 r42445  
    11#! /usr/bin/env perl
     2
     3XXX: not yet ready
    24
    35# NOTE: in this script, we are using database connections to both NEBULOUS and GPC1 databases
     
    1315use Getopt::Long qw( GetOptions :config auto_help auto_version );
    1416
    15 # USAGE: fix_chip_failures.pl --dateobs (night) --chiplist (file) --stage (v0,v1,etc)
    16 # USAGE: fix_chip_failures.pl --dateobs 2010/05/01 --chiplist gpc1.chips.txt --stage v0
     17# USAGE: fix_chip_failures.pl --dateobs (night) --chiplist (file) --stage (0,1,etc)
     18# USAGE: fix_chip_failures.pl --dateobs 2010/05/01 --chiplist gpc1.chips.txt --stage 0
    1719
    1820my ($fulldate, $dateword, $chiplist, $stage, $topdir) = &parse_cmdopts;
     
    5355    pod2usage( -msg => "Cannot determine target date, use --dateobs YYYY/MM/DD", -exitval => 2) unless defined $dateobs;
    5456    pod2usage( -msg => "Provide a list of chips with --chiplist", -exitval => 2) unless defined $chiplist;
    55     pod2usage( -msg => "Define the stage (v0, v1, etc) with --stage", -exitval => 2) unless defined $stage;
     57    pod2usage( -msg => "Define the stage (0, 1, etc) with --stage", -exitval => 2) unless defined $stage;
    5658    pod2usage( -msg => "Specify the top-level output directory with --topdir", -exitval => 2) unless defined $topdir;
    5759   
Note: See TracChangeset for help on using the changeset viewer.