- Timestamp:
- Dec 16, 2019, 11:22:20 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/night_report.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/night_report.pl
r41200 r41203 238 238 if ($doHeader) { 239 239 print "Bad quality camRun exposures:\n"; 240 printf "%1 1s | %7s | %7s | %9s | %9s | %15s\n", "exp_name","cam_id", "quality", "sigma_ra", "sigma_dec", "comment";240 printf "%15s | %9s | %7s | %11s | %11s | %15s\n", "exp_name","cam_id", "quality", "sigma_ra", "sigma_dec", "comment"; 241 241 $doHeader = 0; 242 242 } 243 printf "%1 1s | %7s | %7d | %9s | %9s | %15s\n", $row[0], $row[1], $row[2], $row[3], $row[4], $row[5];243 printf "%15s | %9s | %7d | %11s | %11s | %15s\n", $row[0], $row[1], $row[2], $row[3], $row[4], $row[5]; 244 244 } 245 245 if (!$doHeader) { print "\n"; } … … 263 263 if ($doHeader) { 264 264 print "Bad quality warpRun exposures:\n"; 265 printf "%1 1s | %7s | %15s\n", "exp_name", "warp_id", "comment";265 printf "%15s | %9s | %15s\n", "exp_name", "warp_id", "comment"; 266 266 $doHeader = 0; 267 267 } 268 printf "%1 1s | %7d | %15s \n", $row[0], $row[1], $row[4];268 printf "%15s | %9d | %15s \n", $row[0], $row[1], $row[4]; 269 269 } 270 270 } … … 286 286 if ($doHeader) { 287 287 print "Bad quality diffRun exposures:\n"; 288 printf "%1 1s | %7s | %7s | %7s | %7s | %7s | %15s\n", "exp_name", "diff_id", "warp1", "stack1", "warp2", "stack2", "comment";288 printf "%15s | %9s | %9s | %9s | %9s | %9s | %15s\n", "exp_name", "diff_id", "warp1", "stack1", "warp2", "stack2", "comment"; 289 289 $doHeader = 0; 290 290 } … … 299 299 while (@row3 = $result3->fetchrow_array()) { 300 300 #if all skycells have bad quality, this is a bad diff. If all the skycells are in a full state in publishRun, it is fully published 301 if ($row3[1]==$row3[0]) {printf "%1 1s | %7d | %7d | %7d | %7d | %7d | %15s \n", $row[5], $row[0], $row[1], $row[2], $row[3], $row[4], $row[6];}301 if ($row3[1]==$row3[0]) {printf "%15s | %9d | %9d | %9d | %9d | %9d | %15s \n", $row[5], $row[0], $row[1], $row[2], $row[3], $row[4], $row[6];} 302 302 } 303 303 } … … 311 311 while (@row3 = $result3->fetchrow_array()) { 312 312 #if all skycells have bad quality, this is a bad diff. If all the skycells are in a full state in publishRun, it is fully published 313 if ($row3[1]==$row3[0]) {printf "%1 1s | %7d | %7d | %7d | %7d | %7d | %15s \n", $row[5], $row[0], $row[1], $row[2], $row[3], $row[4], $row[6];}313 if ($row3[1]==$row3[0]) {printf "%15s | %9d | %9d | %9d | %9d | %9d | %15s \n", $row[5], $row[0], $row[1], $row[2], $row[3], $row[4], $row[6];} 314 314 } 315 315 } … … 352 352 if ($doHeader) { 353 353 print "Overridden exposures:\n"; 354 printf "%1 1s | %9s | %15s\n", "exp_name", "dateobs", "comment";354 printf "%15s | %11s | %15s\n", "exp_name", "dateobs", "comment"; 355 355 $doHeader = 0; 356 356 } 357 printf "%1 1s | %9s | %15s\n", $row2[0], $row2[1], $row2[2];357 printf "%15s | %11s | %15s\n", $row2[0], $row2[1], $row2[2]; 358 358 } 359 359 $doskip = 1;
Note:
See TracChangeset
for help on using the changeset viewer.
