Changeset 40762 for tags/ipp-ps2-20190404
- Timestamp:
- May 30, 2019, 8:43:43 AM (7 years ago)
- Location:
- tags/ipp-ps2-20190404
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/night_report.pl (modified) (6 diffs)
-
tools/fixburntool (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-ps2-20190404
- Property svn:mergeinfo changed
/trunk merged: 40689-40690,40692-40703,40705-40706,40708-40729
- Property svn:mergeinfo changed
-
tags/ipp-ps2-20190404/ippScripts/scripts/night_report.pl
r40678 r40762 768 768 # count the number of chunks, and their status: 769 769 if ($verbose or $chunks) { 770 print "Current status of SS chunks:\n";770 print "Current status of SS and Euclid chunks:\n"; 771 771 772 772 #This is a long query, but it efficiently gathers all the necessary information … … 775 775 $query .= " SELECT dateobs,comment,substr(comment, 1, position(' ' in comment)) AS chunk,count(*) AS Nquad_firstvisit"; 776 776 $query .= " FROM rawExp"; 777 $query .= " WHERE dateobs LIKE '$date%' AND obs_mode LIKE '%SS%'";778 $query .= " AND obs_mode LIKE '%SS%'AND obs_mode NOT LIKE 'ENGINEERING'";777 $query .= " WHERE dateobs LIKE '$date%'"; 778 $query .= " AND (obs_mode LIKE '%SS%' OR obs_mode LIKE '%BRIGHT%') AND obs_mode NOT LIKE 'ENGINEERING'"; 779 779 $query .= " AND comment LIKE '%visit 1%'"; 780 780 $query .= " GROUP BY chunk"; … … 785 785 $query .= " (SELECT substr(comment, 1, position(' ' in comment)) AS chunk,count(*) AS Nvisits"; 786 786 $query .= " FROM rawExp"; 787 $query .= " WHERE obs_mode LIKE '%' AND dateobs LIKE '$date%' AND obs_mode like '%SS%'";787 $query .= " WHERE dateobs LIKE '$date%' AND (obs_mode LIKE '%SS%' OR obs_mode LIKE '%BRIGHT%')"; 788 788 $query .= " AND obs_mode NOT LIKE 'ENGINEERING' AND comment LIKE '%visit%'"; 789 789 $query .= " GROUP BY object, filter, chunk"; … … 798 798 $query .= " (SELECT exp_name,comment,dateobs"; 799 799 $query .= " FROM rawExp "; 800 $query .= " WHERE dateobs LIKE '$date%' AND obs_mode LIKE '%SS%'AND obs_mode NOT LIKE 'ENGINEERING'";800 $query .= " WHERE dateobs LIKE '$date%' AND (obs_mode LIKE '%SS%' OR obs_mode LIKE '%BRIGHT%') AND obs_mode NOT LIKE 'ENGINEERING'"; 801 801 $query .= " ) AS expall "; 802 802 $query .= " LEFT JOIN"; … … 806 806 $query .= " diffRun JOIN diffInputSkyfile USING (diff_id) JOIN publishRun ON (diff_id = stage_id) JOIN warpRun ON (warp1=warp_id)"; 807 807 $query .= " JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN camProcessedExp USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id)"; 808 $query .= " WHERE rawExp.dateobs LIKE '$date%' AND diffRun.reduction LIKE 'SWEETSPOT'";808 $query .= " WHERE rawExp.dateobs LIKE '$date%' AND (obs_mode LIKE '%SS%' OR obs_mode LIKE '%BRIGHT%')"; 809 809 $query .= " AND stack2 IS NULL AND diffRun.diff_id=stage_id"; 810 810 $query .= " ) "; … … 813 813 $query .= " diffRun JOIN diffInputSkyfile USING (diff_id) JOIN publishRun ON (diff_id = stage_id) JOIN warpRun ON (warp2=warp_id)"; 814 814 $query .= " JOIN fakeRun USING (fake_id) JOIN camRun USING (cam_id) JOIN camProcessedExp USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id)"; 815 $query .= " WHERE rawExp.dateobs LIKE '$date%' AND diffRun.reduction LIKE 'SWEETSPOT'";815 $query .= " WHERE rawExp.dateobs LIKE '$date%' AND (obs_mode LIKE '%SS%' OR obs_mode LIKE '%BRIGHT%')"; 816 816 $query .= " AND stack2 IS NULL AND diffRun.diff_id=stage_id"; 817 817 $query .= " )"; -
tags/ipp-ps2-20190404/tools/fixburntool
r36552 r40762 48 48 run(command => $command, verbose => $verbose); 49 49 unless ($success) { 50 print "error_code: $error_code\n"; 50 51 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 51 52 carp("Unable to perform $command: $error_code");
Note:
See TracChangeset
for help on using the changeset viewer.
