Changeset 13606 for trunk/ippScripts/scripts
- Timestamp:
- Jun 3, 2007, 4:27:35 PM (19 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
register_exp.pl (modified) (2 diffs)
-
register_imfile.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/register_exp.pl
r13019 r13606 72 72 "ccd_temp", # CCD temperature 73 73 "exp_time", # Exposure time 74 "sat_pixel_frac", # Fraction of saturated pixels 74 75 "airmass", # Airmass 75 76 "ra", # Right ascension … … 160 161 if (0) { 161 162 # XXX for a test, randomly declare a failure and return to pantasks 162 my $rnd = rand(1);163 if ($rnd > 0.5) {164 warn ("random failure");165 &my_die ($exp_tag, $PS_EXIT_DATA_ERROR);166 }163 my $rnd = rand(1); 164 if ($rnd > 0.5) { 165 warn ("random failure"); 166 &my_die ($exp_tag, $PS_EXIT_DATA_ERROR); 167 } 167 168 } 168 169 -
trunk/ippScripts/scripts/register_imfile.pl
r13275 r13606 58 58 and defined $uri; 59 59 60 my $RECIPE = "PPSTATS_ PHASE0"; # Recipe to use for ppStats60 my $RECIPE = "PPSTATS_REGISTER"; # Recipe to use for ppStats 61 61 62 62 # These values should be constant for all components … … 79 79 # The key is the name in the ppStats output; the value is the switch for "phase0 -updateexp" 80 80 use constant VARIABLES => { 81 "CHIP.TEMP" => "-ccd_temp", # CCD temperature 82 "CELL.EXPOSURE" => "-exp_time" # Exposure time 81 "CHIP.TEMP" => "-ccd_temp", # CCD temperature 82 "CELL.EXPOSURE" => "-exp_time", # Exposure time 83 "SAT_PIXEL_FRAC" => "-sat_pixel_frac" # fraction of saturated pixels 83 84 }; 84 85
Note:
See TracChangeset
for help on using the changeset viewer.
