Changeset 37983
- Timestamp:
- Mar 20, 2015, 11:11:50 AM (11 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 3 added
- 15 edited
-
Makefile.in (modified) (1 diff)
-
czartool/czartool.pl (modified) (2 diffs)
-
czartool/czartool/CzarDb.pm (modified) (1 diff)
-
czartool/czartool/czarconfig.xml (modified) (2 diffs)
-
def/chipProcessedImfile_failure.d (modified) (2 diffs)
-
def/failedCamProcessedExp.d (modified) (2 diffs)
-
def/failedChipProcessedImfile.d (modified) (3 diffs)
-
def/failedWarpSkyfiles.d (modified) (2 diffs)
-
def/simplePlotChipQueue.d (added)
-
def/simplePlotDiffImage.d (added)
-
def/stackSummary_Images.d (modified) (1 diff)
-
def/subsetPlotDiffImage.d (added)
-
def/warpFailedSkyfiles.d (modified) (2 diffs)
-
raw/czartool_labels.php (modified) (5 diffs)
-
raw/getimage.php (modified) (1 diff)
-
raw/ipp.php (modified) (1 diff)
-
raw/ipp.plots.dat (modified) (1 diff)
-
raw/show_log.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile.in
r35200 r37983 217 217 $(DESTWWW)/simplePlotStaticskyImage.php \ 218 218 $(DESTWWW)/simplePlotSkycalImage.php \ 219 $(DESTWWW)/simplePlotDiffImage.php \ 220 $(DESTWWW)/subsetPlotDiffImage.php \ 219 221 $(DESTWWW)/histogramBackgroundImage.php \ 220 222 $(DESTWWW)/histogramCamProcessedExpImage.php \ -
trunk/ippMonitor/czartool/czartool.pl
r33814 r37983 55 55 @stdscienceLabels = @{$pantasks->getLabels("stdscience")}; 56 56 @distributionLabels = @{$pantasks->getLabels("distribution")}; 57 @publishingLabels = @{$pantasks->getLabels("publishing")}; 57 # @publishingLabels = @{$pantasks->getLabels("publishing")}; 58 @publishingLabels = @stdscienceLabels; 58 59 checkAllLabels("new"); 59 60 printInstructions(); … … 109 110 sub checkServers { 110 111 111 my @servers = ("addstar", "cleanup", "detrend", "distribution", "pstamp", "update", "publishing", "registration", "replication", "stdscience", "summitcopy"); 112 # my @servers = ("addstar", "cleanup", "detrend", "distribution", "pstamp", "update", "publishing", "registration", "replication", "stdscience", "summitcopy"); 113 my @servers = ("cleanup", "detrend", "distribution", "pstamp", "registration", "replication", "stdscience", "summitcopy"); 112 114 printf("\n+-----------------------------------------------+\n"); 113 115 printf("| Servers |\n"); -
trunk/ippMonitor/czartool/czartool/CzarDb.pm
r34931 r37983 272 272 my $size = scalar @{$labels}; 273 273 if ($size < 1) { return; } 274 # CZW: 2014-09-12 edit to force in lanl labels 275 if ($server eq 'stdscience') { 276 push @{$labels}, 'LAP.PV3.20140730.final'; 277 # push @{$labels}, 'LAP.PV3.20140730.local'; 278 # push @{$labels}, 'LAP.PV3.20140730.ipp'; 279 # push @{$labels}, 'LAP.PV3.20140730.ipp.local'; 280 # push @{$labels}, 'LAP.PV3.20140730.restack'; 281 # push @{$labels}, 'LAP.PV3.20140730.bigmem'; 282 # push @{$labels}, 'LAP.PV3.20140730.sky01'; 283 push @{$labels}, 'LAP.PV3.20140730.sky01.remote'; 284 push @{$labels}, 'LAP.PV3.20140730.diff01'; 285 push @{$labels}, 'LAP.PV3.20140730.diff01.left'; 286 push @{$labels}, 'LAP.PV3W.20150312'; 287 # push @{$labels}, 'SAS.20141118'; 288 } 289 274 290 275 291 my $query = $self->{_db}->prepare(<<SQL); -
trunk/ippMonitor/czartool/czartool/czarconfig.xml
r36785 r37983 27 27 <gpc1database> 28 28 <name>gpc1</name> 29 <host>scidb s1</host>29 <host>scidbm</host> 30 30 <user>ippuser</user> 31 31 <password>ippuser</password> … … 47 47 <serverinterval>20 MINUTE</serverinterval> 48 48 <!-- whitespace-separated server list for servers we want roboczar to check --> 49 <interestedservers>stdscience distribution summitcopy registration stackpstamp </interestedservers>49 <interestedservers>stdscience distribution summitcopy registration pstamp </interestedservers> 50 50 <!-- <interestedservers>pstamp</interestedservers> --> 51 51 </roboczar> -
trunk/ippMonitor/def/chipProcessedImfile_failure.d
r27892 r37983 17 17 ARGS ARG3 chipProcessedImfile.class_id=$chipProcessedImfile.class_id 18 18 ARGS ARG3 camera=$rawExp.camera 19 ARGS ARG3 state=$chipRun.state 19 20 ARGS ARG3 basename=$chipProcessedImfile.path_base 20 21 ARGS ARG3 class=$chipProcessedImfile.class_id … … 28 29 FIELD rawExp.exp_id, 5, %d, Exp ID, value, rawImfile.php, ARG1 29 30 FIELD chipRun.chip_id, 7, %d, Chip ID, value, chipProcessedImfile_failure.php, ARG2 30 FIELD chipRun.state, 7, %s, State, value, chipProcessedImfile_failure.php, ARG331 FIELD chipRun.state, 8, %s, State, value, chipProcessedImfile_failure.php, ARG3 31 32 FIELD chipRun.label, 7, %s, Label 32 33 FIELD chipRun.data_group, 7, %s, data grp -
trunk/ippMonitor/def/failedCamProcessedExp.d
r32028 r37983 17 17 ARGS ARG4 camRun.cam_id=$camRun.cam_id 18 18 ARGS ARG4 camera=$rawExp.camera 19 ARGS ARG4 state=$camRun.state 19 20 ARGS ARG4 basename=$camProcessedExp.path_base 20 21 … … 35 36 FIELD camProcessedExp.path_base, 5, %s, path_base, none 36 37 FIELD rawExp.exp_id, 5, %s, Exp ID, none 38 FIELD rawExp.camera, 5, %s, Camera, none 37 39 38 40 -
trunk/ippMonitor/def/failedChipProcessedImfile.d
r34316 r37983 18 18 ARGS ARG3 camera=$rawExp.camera 19 19 ARGS ARG3 basename=$chipProcessedImfile.path_base 20 ARGS ARG3 state=$chipRun.state 20 21 ARGS ARG3 class=$chipProcessedImfile.class_id 21 22 … … 32 33 FIELD chipRun.dist_group, 7, %s, dist grp 33 34 FIELD chipProcessedImfile.fault, 2, %d, Fault 35 FIELD chipProcessedImfile.path_base, 5, %s, path_base, none 36 FIELD rawExp.camera, 10, %s, Camera, none 34 37 FIELD *, 50, %s, Revert Command, op=OP1 35 38 … … 47 50 # FIELD chipProcessedImfile.n_stars, 5, %d, Nstars 48 51 # FIELD chipProcessedImfile.fwhm_major, 5, %.2f, FHWM 49 # FIELD chipProcessedImfile.path_base, 5, %s, path_base, none50 52 # FIELD rawExp.comment, 65, %s, Comment 51 53 -
trunk/ippMonitor/def/failedWarpSkyfiles.d
r32028 r37983 21 21 ARGS ARG7 warpSkyfile.skycell_id=$warpSkyfile.skycell_id 22 22 ARGS ARG7 camera=$rawExp.camera 23 ARGS ARG7 state=$warpRun.state 23 24 ARGS ARG7 basename=$warpSkyfile.path_base 24 25 … … 32 33 FIELD fakeRun.fake_id, 7, %d, Fake ID, value, fakeProcessedImfile.php, ARG4 33 34 FIELD warpRun.warp_id, 7, %d, Warp ID, value, warpStageExp.php, ARG5 34 FIELD warpSkyfile.skycell_id, 10, %s, Skycell ID, value, warpFailedSkyfiles.php, ARG635 FIELD warpRun.state, 7, %s, State, value, warpFailedSkyfiles.php, ARG735 FIELD warpSkyfile.skycell_id, 10, %s, Skycell ID, value, warpFailedSkyfiles.php, ARG6 36 FIELD warpRun.state, 8, %s, State, value, warpFailedSkyfiles.php, ARG7 36 37 FIELD warpRun.label, 7, %s, Label 37 38 FIELD warpSkyfile.fault, 2, %d, Fault 39 FIELD rawExp.camera, 2, %s, camera, none 38 40 FIELD *, 50, %s, Revert Command, op=OP1 39 41 -
trunk/ippMonitor/def/stackSummary_Images.d
r28668 r37983 9 9 # define image names to be used below 10 10 # IMAGE VAR basename filerule camera class_id 11 IMAGE JPEG2 OP1 PPSKYCELL.JPEG2 GPC1 NONE12 OP OP1 $stackSummary.path_base . $stackSummary.projection_cell 13 ARGS ARG7 name=$stackSummary.path_base.$stackSummary.projection_cell 11 IMAGE JPEG2 OP1 PPSKYCELL.JPEG2 SIMTEST 0 12 OP OP1 $stackSummary.path_base . $stackSummary.projection_cell . image 13 ARGS ARG7 name=$stackSummary.path_base.$stackSummary.projection_cell.image 14 14 ARGS ARG7 rule=PPSKYCELL.JPEG1 15 ARGS ARG7 camera= GPC116 ARGS ARG7 class_id= NONE15 ARGS ARG7 camera=SIMTEST 16 ARGS ARG7 class_id=0 17 17 18 18 # field size format name show link to extras -
trunk/ippMonitor/def/warpFailedSkyfiles.d
r27892 r37983 21 21 ARGS ARG7 warpSkyfile.skycell_id=$warpSkyfile.skycell_id 22 22 ARGS ARG7 camera=$rawExp.camera 23 ARGS ARG7 state=$warpRun.state 23 24 ARGS ARG7 basename=$warpSkyfile.path_base 24 25 … … 34 35 FIELD warpRun.warp_id, 7, %d, Warp ID, value, warpStageExp.php, ARG5 35 36 FIELD warpSkyfile.skycell_id, 10, %s, skycell, value, warpFailedSkyfiles.php, ARG6 36 FIELD warpRun.state, 7, %s, state, value, warpFailedSkyfiles.php, ARG737 FIELD warpRun.state, 8, %s, state, value, warpFailedSkyfiles.php, ARG7 37 38 FIELD warpRun.label, 7, %s, label 38 39 FIELD warpRun.data_group, 7, %s, data grp -
trunk/ippMonitor/raw/czartool_labels.php
r34900 r37983 37 37 "dist", 38 38 "pub", 39 "chipbackground"); 39 ); 40 # "chipbackground"); 40 41 41 42 $servers=array( … … 46 47 "distribution", 47 48 "pstamp", 48 "update",49 "publishing",49 # "update", 50 # "publishing", 50 51 "registration", 51 52 "replication", 52 53 "stack", 53 "deepstack",54 # "deepstack", 54 55 "stdscience", 55 56 "summitcopy"); … … 95 96 $labels = getLabels($czardb, $selectedMode); 96 97 $distLabels = getLabels($czardb, "distribution"); 97 $pubLabels = getLabels($czardb, "publishing"); 98 # $pubLabels = getLabels($czardb, "publishing"); 99 $pubLabels = $labels; 98 100 99 101 if ($debug) { … … 445 447 $anyFaults = false; 446 448 447 $link = "failedChipProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel . "&chipRun.state=".$searchState; 449 // Note: Do not include the state for chip, cam, and warp so that both new and update faults are listed 450 $link = "failedChipProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel ; # . "&chipRun.state=".$searchState; 448 451 getStateAndFaults($db, $thisLabel, $selectedState, "chip", $str, $anyFaults); 449 452 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); 450 453 451 $link = "failedCamProcessedExp.php?pass=" . $pass . "&proj=" . $proj . "&camRun.label=" . $thisLabel . "&camRun.state=".$searchState;454 $link = "failedCamProcessedExp.php?pass=" . $pass . "&proj=" . $proj . "&camRun.label=" . $thisLabel ; # . "&camRun.state=".$searchState; 452 455 getStateAndFaults($db, $thisLabel, $selectedState, "cam", $str, $anyFaults); 453 456 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); … … 457 460 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); 458 461 459 $link = "failedWarpSkyfiles.php?pass=" . $pass . "&proj=" . $proj . "&warpRun.label=" . $thisLabel . "&warpRun.state=".$searchState;462 $link = "failedWarpSkyfiles.php?pass=" . $pass . "&proj=" . $proj . "&warpRun.label=" . $thisLabel ; # . "&warpRun.state=".$searchState; 460 463 getStateAndFaults($db, $thisLabel, $selectedState, "warp", $str, $anyFaults); 461 464 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); -
trunk/ippMonitor/raw/getimage.php
r28688 r37983 94 94 } 95 95 96 if ($class_id == "NONE") { 97 $camera = "SIMPLE"; 98 } 99 96 100 /* --site=$SITE */ 97 101 $output = array(); -
trunk/ippMonitor/raw/ipp.php
r34687 r37983 789 789 $class_id = $_GET['class']; 790 790 $camera = $_GET['camera']; 791 $state = $_GET['state']; 791 792 } else { 792 793 $basename = $_POST['basename']; 793 794 $class_id = $_POST['class']; 794 795 $camera = $_POST['camera']; 796 $state = $_POST['state']; 797 } 798 799 if ($state == 'update') { 800 $filerule = "$filerule.UPDATE"; 795 801 } 796 802 -
trunk/ippMonitor/raw/ipp.plots.dat
r35300 r37983 7 7 menulink | menuselect | link | Simple plot - stack | simplePlotStackImage.php 8 8 menulink | menuselect | link | Simple plot - staticsky | simplePlotStaticskyImage.php 9 menulink | menuselect | link | Simple plot - skycal | simplePlotSkycalImage.php 10 menulink | menuselect | link | Heather's Plots | heathers_plot.php 9 menulink | menuselect | link | Simple plot - skycal | simplePlotSkycalImage.php 10 menulink | menuselect | link | Simple plot - fforce | simplePlotFForceImage.php 11 menulink | menuselect | link | Simple plot - chip queue | simplePlotChipQueue.php 12 menulink | menuselect | link | Simple plot - diff | simplePlotDiffImage.php 13 menulink | menuselect | link | Subset plot - diff | subsetPlotDiffImage.php 14 menulink | menuselect | link | Heather's Plots | heathers_plot.php 11 15 12 16 menutop | menutop | plain | | -
trunk/ippMonitor/raw/show_log.php
r31803 r37983 16 16 $basename = escapeshellarg($basename); 17 17 18 $state = $_GET[state]; 19 $state = escapeshellarg($state); 20 if (!$state) $state = 'new'; 21 18 22 include 'ipp.php'; 19 23 include 'site.php'; … … 24 28 menu($myMenu, 'Czartool on '.$lastUpdateTime, 'ipp.css', $ID['link'], $ID['proj']); 25 29 26 insert_log('LOG.EXP'); 30 if ($state == 'update') { 31 insert_log('LOG.EXP.UPDATE'); 32 } else { 33 insert_log('LOG.EXP'); 34 } 27 35 28 36 exit();
Note:
See TracChangeset
for help on using the changeset viewer.
