Changeset 13019
- Timestamp:
- Apr 24, 2007, 5:46:03 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/register_exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/register_exp.pl
r12800 r13019 65 65 "exp_type", # Exposure type 66 66 "filter", # Filter used 67 "dateobs", # Time of exposure 68 ]; 69 70 # These values may vary across components; we will take the average 71 use constant VARIABLES => [ 72 "ccd_temp", # CCD temperature 73 "exp_time", # Exposure time 67 74 "airmass", # Airmass 68 75 "ra", # Right ascension … … 71 78 "alt", # Altitude 72 79 "az", # Azimuth 73 "dateobs", # Time of exposure74 ];75 76 # These values may vary across components; we will take the average77 use constant VARIABLES => [78 "ccd_temp", # CCD temperature79 "exp_time", # Exposure time80 80 ]; 81 81 … … 139 139 } 140 140 if ($values{$constant} ne $value) { 141 warn ("Value of $constant for $imfile->{REGISTER_CLASSID} doesn't match previous value"); 142 &my_die ($exp_tag, $PS_EXIT_PROG_ERROR); 141 warn ("Value of $constant for " . $imfile->{REGISTER_CLASSID()} . 142 " doesn't match previous value"); 143 &my_die($exp_tag, $PS_EXIT_PROG_ERROR); 143 144 } 144 145 }
Note:
See TracChangeset
for help on using the changeset viewer.
