IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37983


Ignore:
Timestamp:
Mar 20, 2015, 11:11:50 AM (11 years ago)
Author:
eugene
Message:

updating changes to ippMonitor

Location:
trunk/ippMonitor
Files:
3 added
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/Makefile.in

    r35200 r37983  
    217217$(DESTWWW)/simplePlotStaticskyImage.php \
    218218$(DESTWWW)/simplePlotSkycalImage.php \
     219$(DESTWWW)/simplePlotDiffImage.php \
     220$(DESTWWW)/subsetPlotDiffImage.php \
    219221$(DESTWWW)/histogramBackgroundImage.php \
    220222$(DESTWWW)/histogramCamProcessedExpImage.php \
  • trunk/ippMonitor/czartool/czartool.pl

    r33814 r37983  
    5555    @stdscienceLabels = @{$pantasks->getLabels("stdscience")};
    5656    @distributionLabels = @{$pantasks->getLabels("distribution")};
    57     @publishingLabels = @{$pantasks->getLabels("publishing")};
     57    # @publishingLabels = @{$pantasks->getLabels("publishing")};
     58    @publishingLabels = @stdscienceLabels;
    5859    checkAllLabels("new");
    5960    printInstructions();
     
    109110sub checkServers {
    110111
    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");
    112114    printf("\n+-----------------------------------------------+\n");
    113115    printf("|                      Servers                  |\n");
  • trunk/ippMonitor/czartool/czartool/CzarDb.pm

    r34931 r37983  
    272272    my $size = scalar @{$labels};
    273273    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
    274290
    275291    my $query = $self->{_db}->prepare(<<SQL);
  • trunk/ippMonitor/czartool/czartool/czarconfig.xml

    r36785 r37983  
    2727  <gpc1database>
    2828    <name>gpc1</name>
    29     <host>scidbs1</host>
     29    <host>scidbm</host>
    3030    <user>ippuser</user>
    3131    <password>ippuser</password>
     
    4747    <serverinterval>20 MINUTE</serverinterval>
    4848    <!-- whitespace-separated server list for servers we want roboczar to check -->
    49     <interestedservers>stdscience distribution summitcopy registration stack pstamp </interestedservers>
     49    <interestedservers>stdscience distribution summitcopy registration pstamp </interestedservers>
    5050    <!-- <interestedservers>pstamp</interestedservers> -->
    5151  </roboczar>
  • trunk/ippMonitor/def/chipProcessedImfile_failure.d

    r27892 r37983  
    1717ARGS  ARG3 chipProcessedImfile.class_id=$chipProcessedImfile.class_id
    1818ARGS  ARG3 camera=$rawExp.camera
     19ARGS  ARG3 state=$chipRun.state
    1920ARGS  ARG3 basename=$chipProcessedImfile.path_base
    2021ARGS  ARG3 class=$chipProcessedImfile.class_id
     
    2829FIELD rawExp.exp_id,                      5, %d,     Exp ID,      value,  rawImfile.php,                   ARG1
    2930FIELD chipRun.chip_id,                    7, %d,     Chip ID,     value,  chipProcessedImfile_failure.php, ARG2
    30 FIELD chipRun.state,                      7, %s,     State,       value,  chipProcessedImfile_failure.php, ARG3
     31FIELD chipRun.state,                      8, %s,     State,       value,  chipProcessedImfile_failure.php, ARG3
    3132FIELD chipRun.label,                      7, %s,     Label
    3233FIELD chipRun.data_group,                         7, %s,     data grp
  • trunk/ippMonitor/def/failedCamProcessedExp.d

    r32028 r37983  
    1717ARGS  ARG4 camRun.cam_id=$camRun.cam_id
    1818ARGS  ARG4 camera=$rawExp.camera
     19ARGS  ARG4 state=$camRun.state
    1920ARGS  ARG4 basename=$camProcessedExp.path_base
    2021
     
    3536FIELD camProcessedExp.path_base,         5,   %s,     path_base,    none
    3637FIELD rawExp.exp_id,                     5,   %s,     Exp ID,       none
     38FIELD rawExp.camera,                     5,   %s,     Camera,       none
    3739
    3840
  • trunk/ippMonitor/def/failedChipProcessedImfile.d

    r34316 r37983  
    1818ARGS  ARG3 camera=$rawExp.camera
    1919ARGS  ARG3 basename=$chipProcessedImfile.path_base
     20ARGS  ARG3 state=$chipRun.state
    2021ARGS  ARG3 class=$chipProcessedImfile.class_id
    2122
     
    3233FIELD chipRun.dist_group,                         7, %s,     dist grp
    3334FIELD chipProcessedImfile.fault,          2, %d,     Fault
     35FIELD chipProcessedImfile.path_base,      5, %s,     path_base, none
     36FIELD rawExp.camera,                     10, %s,     Camera, none
    3437FIELD *,                                  50, %s,    Revert Command, op=OP1
    3538
     
    4750# FIELD chipProcessedImfile.n_stars,      5, %d,     Nstars
    4851# FIELD chipProcessedImfile.fwhm_major,           5, %.2f,   FHWM
    49 # FIELD chipProcessedImfile.path_base,      5, %s,     path_base, none
    5052# FIELD rawExp.comment,                          65, %s,     Comment
    5153
  • trunk/ippMonitor/def/failedWarpSkyfiles.d

    r32028 r37983  
    2121ARGS  ARG7 warpSkyfile.skycell_id=$warpSkyfile.skycell_id
    2222ARGS  ARG7 camera=$rawExp.camera
     23ARGS  ARG7 state=$warpRun.state
    2324ARGS  ARG7 basename=$warpSkyfile.path_base
    2425
     
    3233FIELD fakeRun.fake_id,            7, %d,     Fake ID,      value,  fakeProcessedImfile.php, ARG4
    3334FIELD warpRun.warp_id,            7, %d,     Warp ID,      value,  warpStageExp.php,        ARG5
    34 FIELD warpSkyfile.skycell_id,    10, %s,     Skycell ID,      value,  warpFailedSkyfiles.php,  ARG6
    35 FIELD warpRun.state,              7, %s,     State,        value,  warpFailedSkyfiles.php,  ARG7
     35FIELD warpSkyfile.skycell_id,    10, %s,     Skycell ID,   value,  warpFailedSkyfiles.php,  ARG6
     36FIELD warpRun.state,              8, %s,     State,        value,  warpFailedSkyfiles.php,  ARG7
    3637FIELD warpRun.label,              7, %s,     Label
    3738FIELD warpSkyfile.fault,          2, %d,     Fault
     39FIELD rawExp.camera,              2, %s,     camera,       none
    3840FIELD *,                          50, %s,    Revert Command, op=OP1
    3941
  • trunk/ippMonitor/def/stackSummary_Images.d

    r28668 r37983  
    99# define image names to be used below
    1010# IMAGE VAR basename filerule camera class_id
    11 IMAGE JPEG2 OP1 PPSKYCELL.JPEG2 GPC1 NONE
    12 OP   OP1  $stackSummary.path_base . $stackSummary.projection_cell
    13 ARGS ARG7 name=$stackSummary.path_base.$stackSummary.projection_cell
     11IMAGE JPEG2 OP1 PPSKYCELL.JPEG2 SIMTEST 0
     12OP   OP1  $stackSummary.path_base . $stackSummary.projection_cell . image
     13ARGS ARG7 name=$stackSummary.path_base.$stackSummary.projection_cell.image
    1414ARGS ARG7 rule=PPSKYCELL.JPEG1
    15 ARGS ARG7 camera=GPC1
    16 ARGS ARG7 class_id=NONE
     15ARGS ARG7 camera=SIMTEST
     16ARGS ARG7 class_id=0
    1717
    1818#        field                   size  format  name           show     link to         extras
  • trunk/ippMonitor/def/warpFailedSkyfiles.d

    r27892 r37983  
    2121ARGS  ARG7 warpSkyfile.skycell_id=$warpSkyfile.skycell_id
    2222ARGS  ARG7 camera=$rawExp.camera
     23ARGS  ARG7 state=$warpRun.state
    2324ARGS  ARG7 basename=$warpSkyfile.path_base
    2425
     
    3435FIELD warpRun.warp_id,            7, %d,     Warp ID,      value,  warpStageExp.php,        ARG5
    3536FIELD warpSkyfile.skycell_id,    10, %s,     skycell,      value,  warpFailedSkyfiles.php,  ARG6
    36 FIELD warpRun.state,              7, %s,     state,        value,  warpFailedSkyfiles.php,  ARG7
     37FIELD warpRun.state,              8, %s,     state,        value,  warpFailedSkyfiles.php,  ARG7
    3738FIELD warpRun.label,              7, %s,     label
    3839FIELD warpRun.data_group,         7, %s,     data grp
  • trunk/ippMonitor/raw/czartool_labels.php

    r34900 r37983  
    3737        "dist",
    3838        "pub",
    39         "chipbackground");
     39        );
     40        # "chipbackground");
    4041
    4142$servers=array(
     
    4647        "distribution",
    4748        "pstamp",
    48         "update",
    49         "publishing",
     49        # "update",
     50        # "publishing",
    5051        "registration",
    5152        "replication",
    5253        "stack",
    53         "deepstack",
     54        # "deepstack",
    5455        "stdscience",
    5556        "summitcopy");
     
    9596$labels = getLabels($czardb, $selectedMode);
    9697$distLabels = getLabels($czardb, "distribution");
    97 $pubLabels = getLabels($czardb, "publishing");
     98# $pubLabels = getLabels($czardb, "publishing");
     99$pubLabels = $labels;
    98100
    99101if ($debug) {
     
    445447        $anyFaults = false;
    446448
    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;
    448451        getStateAndFaults($db, $thisLabel, $selectedState, "chip", $str, $anyFaults);
    449452        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);
    450453
    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;
    452455        getStateAndFaults($db, $thisLabel, $selectedState, "cam", $str, $anyFaults);
    453456        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);
     
    457460        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);
    458461
    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;
    460463        getStateAndFaults($db, $thisLabel, $selectedState, "warp", $str, $anyFaults);
    461464        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);
  • trunk/ippMonitor/raw/getimage.php

    r28688 r37983  
    9494}
    9595
     96if ($class_id == "NONE") {
     97   $camera = "SIMPLE";
     98}
     99
    96100/* --site=$SITE */
    97101$output = array();
  • trunk/ippMonitor/raw/ipp.php

    r34687 r37983  
    789789    $class_id = $_GET['class'];
    790790    $camera   = $_GET['camera'];
     791    $state    = $_GET['state'];
    791792  } else {
    792793    $basename = $_POST['basename'];
    793794    $class_id = $_POST['class'];
    794795    $camera   = $_POST['camera'];
     796    $state    = $_POST['state'];
     797  }
     798
     799  if ($state == 'update') {
     800    $filerule = "$filerule.UPDATE";
    795801  }
    796802
  • trunk/ippMonitor/raw/ipp.plots.dat

    r35300 r37983  
    77menulink  | menuselect      | link    | Simple plot - stack                 | simplePlotStackImage.php
    88menulink  | 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
     9menulink  | menuselect      | link    | Simple plot - skycal                | simplePlotSkycalImage.php
     10menulink  | menuselect      | link    | Simple plot - fforce                | simplePlotFForceImage.php
     11menulink  | menuselect      | link    | Simple plot - chip queue            | simplePlotChipQueue.php
     12menulink  | menuselect      | link    | Simple plot - diff                  | simplePlotDiffImage.php
     13menulink  | menuselect      | link    | Subset plot - diff                  | subsetPlotDiffImage.php
     14menulink  | menuselect      | link    | Heather's Plots                     | heathers_plot.php
    1115
    1216menutop   | menutop      | plain   | &nbsp;                                 |
  • trunk/ippMonitor/raw/show_log.php

    r31803 r37983  
    1616$basename = escapeshellarg($basename);
    1717
     18$state = $_GET[state];
     19$state = escapeshellarg($state);
     20if (!$state) $state = 'new';
     21
    1822include 'ipp.php';
    1923include 'site.php';
     
    2428menu($myMenu, 'Czartool on '.$lastUpdateTime, 'ipp.css', $ID['link'], $ID['proj']);
    2529
    26 insert_log('LOG.EXP');
     30if ($state == 'update') {
     31    insert_log('LOG.EXP.UPDATE');
     32} else {
     33    insert_log('LOG.EXP');
     34}
    2735
    2836exit();
Note: See TracChangeset for help on using the changeset viewer.