Changeset 34466 for branches/eam_branches/ipp-20120905/ippMonitor
- Timestamp:
- Sep 25, 2012, 10:05:21 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120905/ippMonitor
- Files:
-
- 5 edited
- 5 copied
-
. (modified) (1 prop)
-
Makefile.in (modified) (3 diffs)
-
def/simplePlotCamImage.d (modified) (3 diffs)
-
def/simplePlotSkycalImage.d (copied) (copied from trunk/ippMonitor/def/simplePlotSkycalImage.d )
-
def/simplePlotStackImage.d (copied) (copied from trunk/ippMonitor/def/simplePlotStackImage.d )
-
def/simplePlotStaticskyImage.d (copied) (copied from trunk/ippMonitor/def/simplePlotStaticskyImage.d )
-
raw/ipp.plots.dat (modified) (1 diff)
-
raw/simplePlotcam.php (modified) (8 diffs)
-
raw/skycellplot.php (copied) (copied from trunk/ippMonitor/raw/skycellplot.php )
-
scripts/skycellplot.dvo (copied) (copied from trunk/ippMonitor/scripts/skycellplot.dvo )
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120905/ippMonitor
- Property svn:mergeinfo changed
/trunk/ippMonitor merged: 34429,34431-34432,34434,34436
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120905/ippMonitor/Makefile.in
r33847 r34466 14 14 PROGRAMS = \ 15 15 $(DESTBIN)/skyplot.dvo \ 16 $(DESTBIN)/skycellplot.dvo \ 16 17 $(DESTBIN)/czartool_getServerStatus.pl \ 17 18 $(DESTBIN)/czartool_revert.pl \ … … 57 58 $(DESTWWW)/simplePlotraw.php \ 58 59 $(DESTWWW)/skyplot.php \ 60 $(DESTWWW)/skycellplot.php \ 59 61 $(DESTWWW)/getimage.php \ 60 62 $(DESTWWW)/ipp.czartool.dat \ … … 211 213 $(DESTWWW)/simplePlotChipImage.php \ 212 214 $(DESTWWW)/simplePlotCamImage.php \ 215 $(DESTWWW)/simplePlotStackImage.php \ 216 $(DESTWWW)/simplePlotStaticskyImage.php \ 217 $(DESTWWW)/simplePlotSkycalImage.php \ 213 218 $(DESTWWW)/histogramBackgroundImage.php \ 214 219 $(DESTWWW)/histogramCamProcessedExpImage.php \ -
branches/eam_branches/ipp-20120905/ippMonitor/def/simplePlotCamImage.d
r34189 r34466 1 TABLE cam Run, chipRun, rawExp1 TABLE camProcessedExp, camRun, chipRun, rawExp 2 2 TITLE New sky plot - cam 3 3 FILE simplePlotCamImage.php … … 7 7 WHERE chipRun.exp_id = rawExp.exp_id 8 8 WHERE camRun.chip_id = chipRun.chip_id 9 WHERE camProcessedExp.cam_id = camRun.cam_id 9 10 10 11 # field size format name show link to extras … … 24 25 FIELD rawExp.bg, 5, %.2f, backgnd, restrict 25 26 FIELD rawExp.bg_stdev, 5, %.2f, stdev, restrict 27 FIELD camProcessedExp.fwhm_major, 5, %.2f, FWHM_major, restrict 26 28 27 29 # What to plot -
branches/eam_branches/ipp-20120905/ippMonitor/raw/ipp.plots.dat
r28604 r34466 5 5 menulink | menuselect | link | Simple plot - chip | simplePlotChipImage.php 6 6 menulink | menuselect | link | Simple plot - cam | simplePlotCamImage.php 7 menulink | menuselect | link | Simple plot - stack | simplePlotStackImage.php 8 menulink | menuselect | link | Simple plot - staticsky | simplePlotStaticskyImage.php 9 menulink | menuselect | link | Simple plot - skycal | simplePlotSkycalImage.php 7 10 8 11 menutop | menutop | plain | | -
branches/eam_branches/ipp-20120905/ippMonitor/raw/simplePlotcam.php
r31102 r34466 28 28 // define restrictiosn to the queries 29 29 // ** TABLE RESTRICTIONS ** 30 $WHERE = "WHERE camRun.state != 'new' AND chipRun.exp_id = rawExp.exp_id AND camRun.chip_id = chipRun.chip_id ";30 $WHERE = "WHERE camRun.state != 'new' AND chipRun.exp_id = rawExp.exp_id AND camRun.chip_id = chipRun.chip_id AND camProcessedExp.cam_id = camRun.cam_id"; 31 31 $WHERE = check_restrict ('rawExp.exp_name', $WHERE, 'string', 1.0); 32 32 $WHERE = check_restrict ('rawExp.exp_id', $WHERE, 'string', 1.0); … … 62 62 $WHERE = check_restrict ('rawExp.bg_stdev', $WHERE, 'max', 1.0); 63 63 $WHERE = check_restrict ('rawExp.comment', $WHERE, 'string', 1.0); 64 $WHERE = check_restrict ('camProcessedExp.fwhm_major', $WHERE, 'string', 1.0); 65 $WHERE = check_restrict ('camProcessedExp.fwhm_major', $WHERE, 'min', 1.0); 66 $WHERE = check_restrict ('camProcessedExp.fwhm_major', $WHERE, 'max', 1.0); 64 67 $WHERE = check_ordering ('', $WHERE); 65 68 … … 73 76 74 77 // get the result table count 75 $sql = "SELECT count(*) FROM cam Run, chipRun, rawExp $WHERE";78 $sql = "SELECT count(*) FROM camProcessedExp, camRun, chipRun, rawExp $WHERE"; 76 79 77 80 $qry = $db->query($sql); 78 81 if (dberror($qry)) { 79 echo "<b>error reading cam Run, chipRun, rawExp table count</b><br>\n";82 echo "<b>error reading camProcessedExp, camRun, chipRun, rawExp table count</b><br>\n"; 80 83 echo "<br><small><b> count query : $sql </b></small><br>\n"; 81 84 menu_end(); 82 85 } 83 86 if (!$qry->fetchInto($row)) { 84 echo "<b>error reading cam Run, chipRun, rawExp table count</b><br>\n";87 echo "<b>error reading camProcessedExp, camRun, chipRun, rawExp table count</b><br>\n"; 85 88 echo "<br><small><b> count query : $sql </b></small><br>\n"; 86 89 menu_end(); … … 128 131 $buttonLink = button_restrict_max ('rawExp.bg_stdev', $buttonLink); 129 132 $buttonLink = button_restrict_string ('rawExp.comment', $buttonLink); 130 133 $buttonLink = button_restrict_string ('camProcessedExp.fwhm_major', $buttonLink); 134 $buttonLink = button_restrict_min ('camProcessedExp.fwhm_major', $buttonLink); 135 $buttonLink = button_restrict_max ('camProcessedExp.fwhm_major', $buttonLink); 131 136 // set up the table 132 137 echo "<table class=list>\n"; … … 181 186 write_header_cell ("list", "stdev "); 182 187 write_header_cell ("list", "Date/Time"); 188 write_header_cell ("list", "Cam FWHM_major"); 183 189 echo "</tr>\n"; 184 190 … … 193 199 write_query_row ('rawExp.bg_stdev', 5, 'min'); 194 200 write_query_row ('rawExp.dateobs', 19, 'min'); 201 write_query_row ('camProcessedExp.fwhm_major', 5, 'min'); 195 202 echo "</tr><tr><td>≤</td>\n"; 196 203 echo "<td> </td>\n"; … … 201 208 write_query_row ('rawExp.bg_stdev', 5, 'max'); 202 209 write_query_row ('rawExp.dateobs', 19, 'max'); 210 write_query_row ('camProcessedExp.fwhm_major', 5, 'max'); 203 211 echo "</tr>\n"; 204 212 … … 228 236 229 237 // query the database 230 $sql = "SELECT rawExp.ra,rawExp.decl,rawExp.filter FROM cam Run, chipRun, rawExp $WHERE";238 $sql = "SELECT rawExp.ra,rawExp.decl,rawExp.filter FROM camProcessedExp, camRun, chipRun, rawExp $WHERE"; 231 239 232 240 $qry = $db->query($sql);
Note:
See TracChangeset
for help on using the changeset viewer.
