Changeset 25562 for trunk/tools/make_burntool_pcontrol.pl
- Timestamp:
- Sep 24, 2009, 3:22:13 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/tools/make_burntool_pcontrol.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/make_burntool_pcontrol.pl
r25444 r25562 8 8 use constant DB_SOCKET => '/var/run/mysqld/mysqld.sock'; 9 9 10 getopts('hb Q:d:',\%opt);10 getopts('hbPQ:d:',\%opt); 11 11 if (exists($opt{h})) { 12 12 print STDERR "Usage: make_burntool_pcontrol.pl -b {-Q <SQL_WHERE> | -d <DATE> | DATE_MIN0 DATE_MAX0 DATE_MIN1 DATE_MAX1 [...]}\n"; … … 16 16 print STDERR " -d DATE Specify a single day to look for.\n"; 17 17 print STDERR " -b Only print burntool lines.\n"; 18 print STDERR " -P PR images have bad obs_mode values. Work around that.\n"; 18 19 print STDERR "\n"; 19 20 print STDERR " Scans the GPC1 database, and identifies \"science\" observations based on the obs_mode.\n"; … … 37 38 %science = ('MD' => 1, '3PI' => 1, 'STS' => 1, 'CAL' => 1, 'M31' => 1, 'SS' => 1, 38 39 'ENGINEERING' => 0, 'NULL' => 0, 'Unknown' => 0, ' ' => 0); 39 40 if (exists($opt{P})) { 41 $science{Unknown} = 1; 42 } 40 43 # Zero the arrays. 41 44 @dates_min = ();
Note:
See TracChangeset
for help on using the changeset viewer.
