Changeset 25378 for trunk/tools/make_burntool_pcontrol.pl
- Timestamp:
- Sep 14, 2009, 5:07:57 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/tools/make_burntool_pcontrol.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/make_burntool_pcontrol.pl
r25305 r25378 130 130 nanosecond => 0, time_zone => 'Pacific/Honolulu')->subtract(minutes => 30); 131 131 $et = $dt->epoch(); 132 132 133 133 134 if (!exists($science{$obs_mode})) { 134 135 $science{$obs_mode} = 0; … … 155 156 156 157 } 157 158 159 # If this night has no science exposures, skip to the next one. 160 if (($#start_s == 0) && ($start_s[0] == 0)) { 161 next; 162 } 158 163 # Scan again and count how many exposures are between windows 159 164 foreach $row_ref (@{ $data_ref }) { … … 165 170 $comment = ' '; 166 171 } 167 172 168 173 ($date,$time) = split / /, $dateobs; 169 174 ($year,$month,$day) = split /-/, $date; … … 178 183 nanosecond => 0, time_zone => 'Pacific/Honolulu')->subtract(minutes => 30); 179 184 $et = $dt->epoch(); 180 185 181 186 if (!exists($science{$obs_mode})) { 182 187 die "No mode >>$obs_mode<<\n";
Note:
See TracChangeset
for help on using the changeset viewer.
