Changeset 30700
- Timestamp:
- Feb 19, 2011, 10:28:40 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213
- Files:
-
- 11 edited
-
ippScripts/scripts/ipp_apply_burntool_single.pl (modified) (1 prop)
-
ippScripts/scripts/magic_destreak.pl (modified) (1 diff)
-
ippScripts/scripts/magic_destreak_revert.pl (modified) (1 diff)
-
ippScripts/scripts/nightly_science.pl (modified) (4 diffs)
-
ippTools/share/camtool_find_pendingimfile.sql (modified) (1 prop)
-
ippTools/share/pxadmin_create_tables.sql (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/magicdstool.c (modified) (1 diff)
-
ippTools/src/magictool.c (modified) (1 prop)
-
pstamp/scripts/psstatus (modified) (2 diffs)
-
tools/regpeek.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/ippScripts/scripts/ipp_apply_burntool_single.pl
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20110213/ippScripts/scripts/magic_destreak.pl
r30328 r30700 152 152 153 153 154 # We don't use recoveryroot for camera stage 155 if ($stage eq 'camera') { 156 $recoveryroot = undef; 157 } 158 154 159 # default value is "NULL" do not use 155 160 if (defined($recoveryroot) and ($recoveryroot eq "NULL")) { -
branches/eam_branches/ipp-20110213/ippScripts/scripts/magic_destreak_revert.pl
r30676 r30700 451 451 { 452 452 foreach my $file (@_) { 453 next if !$file; 453 454 if ($ipprc->file_exists($file)) { 454 455 if (!$ipprc->file_delete($file)) { -
branches/eam_branches/ipp-20110213/ippScripts/scripts/nightly_science.pl
r30575 r30700 1315 1315 my $cam_ref = $db->selectall_arrayref( $cam_sth ); 1316 1316 my $warp_ref = $db->selectall_arrayref( $warp_sth ); 1317 1318 1317 return($#{ $chip_ref } + 1, $#{ $cam_ref } + $#{ $warp_ref } + 2); 1319 1318 } … … 1439 1438 # $input_sth .= " ORDER BY dateobs "; 1440 1439 1441 my $input_sth = "select exp_id,warp_id,dateobs,rawExp.comment,warpRun.state AS warp_state FROM ";1442 $input_sth .= " rawExp LEFT JOIN chipRun USING (exp_id) LEFT JOIN camRun USING (chip_id) LEFT JOIN fakeRun USING (cam_id) LEFT JOIN warpRun USING (fake_id) ";1440 my $input_sth = "select exp_id,warp_id,dateobs,rawExp.comment,warpRun.state AS warp_state,camProcessedExp.quality FROM "; 1441 $input_sth .= " rawExp LEFT JOIN chipRun USING (exp_id) LEFT JOIN camRun USING (chip_id) LEFT JOIN camProcessedExp USING(cam_id) LEFT JOIN fakeRun USING (cam_id) LEFT JOIN warpRun USING (fake_id) "; 1443 1442 $input_sth .= " WHERE chipRun.label = '$label' AND chipRun.data_group = '$data_group' AND rawExp.filter = '$filter' AND rawExp.object = '$this_object' "; 1444 1443 $input_sth .= " ORDER BY dateobs "; … … 1461 1460 } 1462 1461 else { 1463 print STDERR ": I should declare an exposure to be faulty.\n";1462 print STDERR ": I should declare an exposure to be qualityy.\n"; 1464 1463 my @keep_warps = (); 1465 1464 # print "@{ $warps }\n"; … … 1494 1493 my $input_warp_state = ${ $input_warp }[4]; 1495 1494 my $template_warp_state = ${ $template_warp }[4]; 1496 1495 1496 my $input_warp_camQuality = ${ $input_warp }[5]; 1497 my $template_warp_camQuality = ${ $template_warp }[5]; 1498 1497 1499 $Npotential++; 1498 1500 1499 1501 unless (defined($input_warp_id) && defined($template_warp_id) && 1500 1502 ($input_warp_state eq 'full')&&($template_warp_state eq 'full')) { 1501 print STDERR "Diff for this $date $target $input_exp_id $template_exp_id not fully processed\n"; 1503 print STDERR "Diff for this $date $target $input_exp_id $template_exp_id not fully processed ($input_warp_state $template_warp_state) ($input_warp_camQuality $template_warp_camQuality)\n"; 1504 if (($input_warp_camQuality == 4007)||($template_warp_camQuality == 4007)) { 1505 print STDERR " ...but this is due to a camera stage astrometry quality\n"; 1506 $Npotential--; 1507 } 1502 1508 next; 1503 1509 } -
branches/eam_branches/ipp-20110213/ippTools/share/camtool_find_pendingimfile.sql
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20110213/ippTools/share/pxadmin_create_tables.sql
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20110213/ippTools/src
- Property svn:mergeinfo changed
/trunk/ippTools/src merged: 30695
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20110213/ippTools/src/magicdstool.c
r30675 r30700 771 771 break; 772 772 case IPP_STAGE_CAMERA: 773 psFree(query);774 773 query = NULL; 775 774 clearRunQuery = "UPDATE chipBackgroundRun SET magicked = 0 where chip_bg_id = %" PRId64; -
branches/eam_branches/ipp-20110213/ippTools/src/magictool.c
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20110213/pstamp/scripts/psstatus
r30517 r30700 44 44 45 45 my $totals_query = " 46 SELECT label, count(job_id) AS 'Unfinished Jobs', priority 46 SELECT label, 47 count(job_id) AS 'Unfinished Jobs', 48 IFNULL(priority,10000) as priority 47 49 FROM pstampRequest join pstampJob USING(req_id) 48 JOIN Label USING(label)50 LEFT JOIN Label USING(label) 49 51 WHERE pstampJob.state ='run' and pstampRequest.state ='run' 50 52 GROUP by label"; … … 75 77 pstampRequest.fault, 76 78 timestamp, 77 priority78 FROM pstampRequest 79 JOIN Label USING(label)79 IFNULL(priority,10000) AS priority 80 FROM pstampRequest 81 LEFT JOIN Label USING(label) 80 82 WHERE pstampRequest.state = 'run' or pstampRequest.state ='new' 81 83 -- OR pstampRequest.state = 'run.wait' -
branches/eam_branches/ipp-20110213/tools/regpeek.pl
r30675 r30700 13 13 my $date = shift(@ARGV); 14 14 unless(defined($date)) { 15 my @time = localtime;15 my @time = gmtime; 16 16 $date = sprintf("%4d-%02d-%02d",$time[5] + 1900,$time[4] + 1,$time[3]); 17 17 }
Note:
See TracChangeset
for help on using the changeset viewer.
