- Timestamp:
- Apr 7, 2023, 4:50:38 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rawfix.20230221/src/fix_chip_failures.pl
r42442 r42445 1 1 #! /usr/bin/env perl 2 3 XXX: not yet ready 2 4 3 5 # NOTE: in this script, we are using database connections to both NEBULOUS and GPC1 databases … … 13 15 use Getopt::Long qw( GetOptions :config auto_help auto_version ); 14 16 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 v017 # 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 17 19 18 20 my ($fulldate, $dateword, $chiplist, $stage, $topdir) = &parse_cmdopts; … … 53 55 pod2usage( -msg => "Cannot determine target date, use --dateobs YYYY/MM/DD", -exitval => 2) unless defined $dateobs; 54 56 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; 56 58 pod2usage( -msg => "Specify the top-level output directory with --topdir", -exitval => 2) unless defined $topdir; 57 59
Note:
See TracChangeset
for help on using the changeset viewer.
