Changeset 40483 for branches/czw_branch/20170908/ippScripts
- Timestamp:
- Jun 27, 2018, 3:31:55 PM (8 years ago)
- Location:
- branches/czw_branch/20170908
- Files:
-
- 7 edited
- 2 copied
-
. (modified) (1 prop)
-
ippScripts/Build.PL (modified) (1 diff)
-
ippScripts/scripts/camera_exp.pl (modified) (1 diff)
-
ippScripts/scripts/chip_imfile.pl (modified) (3 diffs)
-
ippScripts/scripts/ipp_cleanup.pl (modified) (1 diff)
-
ippScripts/scripts/ipp_filename.pl (modified) (2 diffs)
-
ippScripts/scripts/night_report.pl (copied) (copied from trunk/ippScripts/scripts/night_report.pl )
-
ippScripts/scripts/nightly_science.pl (modified) (5 diffs)
-
ippScripts/scripts/rawcheck_mddb.pl (copied) (copied from trunk/ippScripts/scripts/rawcheck_mddb.pl )
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908
- Property svn:mergeinfo changed
-
branches/czw_branch/20170908/ippScripts/Build.PL
r39938 r40483 115 115 scripts/automate_stacks.pl 116 116 scripts/nightly_science.pl 117 scripts/night_report.pl 117 118 scripts/lossy_compress_imfile.pl 118 119 scripts/rawcheck.pl -
branches/czw_branch/20170908/ippScripts/scripts/camera_exp.pl
r39926 r40483 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) { -
branches/czw_branch/20170908/ippScripts/scripts/chip_imfile.pl
r36529 r40483 632 632 if ($gone) { 633 633 carp "WARNING: photometry sources storage object exists but all instances are permanently gone"; 634 $ipprc->file_rename($outputSources,$outputSources . ".gone"); 634 635 $make_sources = 1; 635 636 } … … 657 658 if ($gone) { 658 659 carp "WARNING: PSF storage object exists but all instances are permanently gone"; 660 $ipprc->file_rename($outputPsf,$outputPsf . ".gone"); 659 661 $make_psf = 1; 660 662 } … … 742 744 print STDERR "$file is on $volume which is gone\n"; 743 745 $numGone++; 746 } elsif ($answer eq 'permanently') { 747 $numGone++; 744 748 } elsif ($answer eq 'available') { 745 749 $numNotGone++; -
branches/czw_branch/20170908/ippScripts/scripts/ipp_cleanup.pl
r37714 r40483 27 27 # turn this on the set the state to error_state when errors occur cleaning up individual components 28 28 # We may stop doing this 29 my $set_error_state_for_run = 1;29 my $set_error_state_for_run = 0; 30 30 31 31 # this gets set to 1 the first time we set the corresponding destreak run to be cleaned -
branches/czw_branch/20170908/ippScripts/scripts/ipp_filename.pl
r32803 r40483 10 10 #print "$ENV{'PATH'}\n"; 11 11 #print "$ENV{'PERL5LIB'}\n"; 12 #print "NEB_SERVER: $ENV{'NEB_SERVER'}<br>\n"; 12 13 13 # CZW: This is a horrible hack, but I don't want to have to debug all of ippMonitor to figure out why it's not working.14 # EAM: check for missing NEB_SERVER and exit with an error 14 15 unless (defined($ENV{'NEB_SERVER'})) { 15 $ENV{'NEB_SERVER'} = 'http://nebserver.ipp.ifa.hawaii.edu:80/nebulous'; 16 print "NEB_SERVER not defined in ipp_filename.pl\n"; 17 exit (5); 16 18 } 17 19 if ($ENV{'NEB_SERVER'} eq "") { 20 print "NEB_SERVER not set in ipp_filename.pl\n"; 21 exit (6); 22 } 18 23 19 24 use PS::IPP::Config; … … 52 57 53 58 my $realname = $ipprc->file_resolve( $filename, $touch ); 59 if (not defined $realname) { 60 print "nebulous file $filename not found\n"; 61 exit (1); 62 } 63 54 64 print "$realname\n"; 55 65 -
branches/czw_branch/20170908/ippScripts/scripts/nightly_science.pl
r39926 r40483 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); … … 95 95 --verbose 96 96 --force_stack_count Force the chip/warp counts. 97 --force_diff_count Force the chip/warp counts. 97 --force_diff_count Force the chip/warp counts. 98 --force_registration Force registration counts. 98 99 --this_target_only Process only a single target. 99 100 --this_filter_only Process only a single filter. … … 255 256 $date = $datetime->ymd(); 256 257 } 258 $now = DateTime->now(time_zone => 'UTC'); 257 259 258 260 if (defined($this_target_only)) { … … 2117 2119 month => $datetime->month, 2118 2120 day => $datetime->day, 2119 hour => 6,2121 hour => 17, # 7, 2120 2122 minute => 30, 2121 2123 second => 0, 2122 time_zone => ' Pacific/Honolulu');2124 time_zone => 'UTC'); 2123 2125 2124 2126 foreach my $eon (keys %eon_config) { … … 2142 2144 } 2143 2145 } 2144 # print "$datetime $eon_dt\n"; 2145 if (DateTime->compare($datetime,$eon_dt) < 1) { 2146 if ($force_registration) { 2147 return("END_OF_NIGHT"); 2148 } 2149 # print "$now $eon_dt " . DateTime->compare($now,$eon_dt) . "\n"; 2150 if (DateTime->compare($now,$eon_dt) < 1) { 2146 2151 return("OBSERVING"); 2147 2152 }
Note:
See TracChangeset
for help on using the changeset viewer.
