- Timestamp:
- Apr 23, 2018, 4:52:59 PM (8 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 3 edited
-
camera_exp.pl (modified) (1 diff)
-
detrend_norm_calc.pl (modified) (2 diffs)
-
nightly_science.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r39926 r40403 404 404 405 405 # Construct FPA continuity corrected background images 406 if (($camera =~ /ISP/)||($camera =~ /HSC/) ) {406 if (($camera =~ /ISP/)||($camera =~ /HSC/)||($camera =~ /gpc2/i)) { 407 407 print "Skipping FPA continuity corrected background images for ISP\n"; 408 408 } elsif ($do_bkg) { -
trunk/ippScripts/scripts/detrend_norm_calc.pl
r33666 r40403 199 199 if ($normalisation == 0.0 or lc($normalisation) eq 'nan') { 200 200 warn("Class $className has bad normalisation: $normalisation"); 201 exit($PS_EXIT_SYS_ERROR); 201 $normalisation = 1.0; 202 # exit($PS_EXIT_SYS_ERROR); 202 203 } 203 204 … … 225 226 if ($normalisation == 0.0 or lc($normalisation) eq 'nan') { 226 227 warn("Class $className has bad normalisation: $normalisation"); 227 exit($PS_EXIT_SYS_ERROR); 228 $normalisation = 1.0; 229 # exit($PS_EXIT_SYS_ERROR); 228 230 } 229 231 print "$className : $normalisation\n"; -
trunk/ippScripts/scripts/nightly_science.pl
r40393 r40403 46 46 47 47 # Grab options 48 my ( $date, $datetime, $ camera, $dbname, $logfile, $verbose, $manual);48 my ( $date, $datetime, $now, $camera, $dbname, $logfile, $verbose, $manual); 49 49 my ( $help, $isburning, $force_stack_count, $force_diff_count, $force_registration, $test_mode, $this_target_only, $this_filter_only, $this_mode_only, $check_mode); 50 50 my ( $registration_status, $burntool_status, $observing_status, $old_date); … … 256 256 $date = $datetime->ymd(); 257 257 } 258 $now = DateTime->now(time_zone => 'UTC'); 258 259 259 260 if (defined($this_target_only)) { … … 2118 2119 month => $datetime->month, 2119 2120 day => $datetime->day, 2120 hour => 6,2121 hour => 17, # 7, 2121 2122 minute => 30, 2122 2123 second => 0, 2123 time_zone => ' Pacific/Honolulu');2124 time_zone => 'UTC'); 2124 2125 2125 2126 foreach my $eon (keys %eon_config) { … … 2146 2147 return("END_OF_NIGHT"); 2147 2148 } 2148 # print "$ datetime $eon_dt\n";2149 if (DateTime->compare($ datetime,$eon_dt) < 1) {2149 # print "$now $eon_dt " . DateTime->compare($now,$eon_dt) . "\n"; 2150 if (DateTime->compare($now,$eon_dt) < 1) { 2150 2151 return("OBSERVING"); 2151 2152 }
Note:
See TracChangeset
for help on using the changeset viewer.
