Changeset 18313
- Timestamp:
- Jun 24, 2008, 2:11:43 PM (18 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 8 edited
-
Makefile.in (modified) (1 diff)
-
def/autocode.php (modified) (2 diffs)
-
def/camProcessedExp.d (modified) (1 diff)
-
def/camProcessedExp_NoImages.d (modified) (2 diffs)
-
def/camProcessedExp_failure.d (modified) (1 diff)
-
def/camProcessedImfile.d (modified) (2 diffs)
-
def/chipProcessedImfile.d (modified) (2 diffs)
-
def/chipProcessedImfile_failure.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile.in
r16623 r18313 39 39 $(DESTWWW)/phptest.php \ 40 40 $(DESTWWW)/site.php \ 41 $(DESTWWW)/broken.png \ 42 $(DESTWWW)/down.png \ 43 $(DESTWWW)/down_sel.png \ 44 $(DESTWWW)/left.png \ 45 $(DESTWWW)/left_sel.png \ 46 $(DESTWWW)/missing.png \ 47 $(DESTWWW)/right.png \ 48 $(DESTWWW)/right_sel.png \ 49 $(DESTWWW)/up.png \ 50 $(DESTWWW)/up_sel.png \ 41 51 $(DESTWWW)/getimage.php 42 52 -
trunk/ippMonitor/def/autocode.php
r18193 r18313 28 28 // get the result table count 29 29 $sql = "SELECT count(*) FROM $TABLE $WHERE"; 30 // echo "<br><small><b> count query : $sql </b></small><br>\n";31 30 32 31 $qry = $db->query($sql); 33 if (DB::is error($db)) {32 if (DB::isError($qry)) { 34 33 echo "<b>error reading $TABLE table count</b><br>\n"; 34 echo "<br><small><b> count query : $sql </b></small><br>\n"; 35 35 menu_end(); 36 36 } 37 37 if (!$qry->fetchInto($row)) { 38 38 echo "<b>error reading $TABLE table count</b><br>\n"; 39 echo "<br><small><b> count query : $sql </b></small><br>\n"; 39 40 menu_end(); 40 41 } … … 52 53 // query the database 53 54 $sql = "SELECT $FIELDS FROM $TABLE $WHERE LIMIT $dTABLE OFFSET $rowStart"; 54 // echo "<br><small><b> table query : $sql </b></small><br>\n";55 55 56 56 $qry = $db->query($sql); 57 if (DB::is error($db)) {57 if (DB::isError($qry)) { 58 58 echo "<b>error reading $TABLE table</b><br>\n"; 59 echo "<br><small><b> table query : $sql </b></small><br>\n"; 59 60 menu_end(); 60 61 } -
trunk/ippMonitor/def/camProcessedExp.d
r18193 r18313 9 9 WHERE chipRun.exp_id = rawExp.exp_id 10 10 WHERE camProcessedExp.cam_id = camRun.cam_id 11 WHERE camProcessedExp.chip_id = camRun.chip_id12 11 13 12 # define image names to be used below -
trunk/ippMonitor/def/camProcessedExp_NoImages.d
r18193 r18313 9 9 WHERE chipRun.exp_id = rawExp.exp_id 10 10 WHERE camProcessedExp.cam_id = camRun.cam_id 11 WHERE camProcessedExp.chip_id = camRun.chip_id12 11 WHERE camProcessedExp.fault = 0 13 12 … … 19 18 ARGS ARG1 chipRun.exp_id=$chipRun.exp_id 20 19 21 ARGS ARG2 camRun.cam_id=$camRun.cam_id22 ARGS ARG2 rawExp.exp_id=$rawExp.exp_id23 ARGS ARG2 camera=$rawExp.camera24 ARGS ARG2 basename=$camProcessedExp.path_base20 #ARGS ARG2 camRun.cam_id=$camRun.cam_id 21 #ARGS ARG2 rawExp.exp_id=$rawExp.exp_id 22 #ARGS ARG2 camera=$rawExp.camera 23 #ARGS ARG2 basename=$camProcessedExp.path_base 25 24 26 25 OP OP1 $rawExp.ra * 57.295783 -
trunk/ippMonitor/def/camProcessedExp_failure.d
r18193 r18313 9 9 WHERE chipRun.exp_id = rawExp.exp_id 10 10 WHERE camProcessedExp.cam_id = camRun.cam_id 11 WHERE camProcessedExp.chip_id = camRun.chip_id12 11 WHERE camProcessedExp.fault != 0 13 12 -
trunk/ippMonitor/def/camProcessedImfile.d
r16530 r18313 9 9 WHERE chipRun.exp_id = rawExp.exp_id 10 10 WHERE camProcessedExp.cam_id = camRun.cam_id 11 WHERE camProcessedExp.chip_id = camRun.chip_id12 11 WHERE chipProcessedImfile.chip_id = camRun.chip_id 13 12 … … 19 18 FIELD rawExp.telescope, 10, %s, Telescope 20 19 FIELD rawExp.camera, 10, %s, Camera 21 FIELD chipProcessedImfile.bg, 5, % s,backgnd22 FIELD chipProcessedImfile.bg_stdev, 5, % s,stdev23 FIELD chipProcessedImfile.bg_mean_stdev, 5, % s,<backgnd>24 FIELD chipProcessedImfile.n_stars, 5, % s, Nstars25 FIELD c hipProcessedImfile.n_astrom, 5, %s, Nastrom26 FIELD c hipProcessedImfile.sigma_ra, 5, %s,sigma ra27 FIELD chipProcessedImfile.fwhm_major, 5, % s,FHWM (major)20 FIELD chipProcessedImfile.bg, 5, %.2f, backgnd 21 FIELD chipProcessedImfile.bg_stdev, 5, %.2f, stdev 22 FIELD chipProcessedImfile.bg_mean_stdev, 5, %.2f, <backgnd> 23 FIELD chipProcessedImfile.n_stars, 5, %d, Nstars 24 FIELD camProcessedExp.n_astrom, 5, %d, Nastrom 25 FIELD camProcessedExp.sigma_ra, 5, %.2f, sigma ra 26 FIELD chipProcessedImfile.fwhm_major, 5, %.2f, FHWM (major) 28 27 29 28 TAIL PHP insert_image ('PPIMAGE.JPEG1'); -
trunk/ippMonitor/def/chipProcessedImfile.d
r18193 r18313 28 28 FIELD rawExp.camera, 10, %s, Camera 29 29 FIELD rawExp.dateobs, 19, %T, Date/Time 30 FIELD rawExp.filter, 10, %s, FILTER31 30 FIELD rawExp.ra, 8, %10.6f, RA, op=OP1 32 31 FIELD rawExp.decl, 8, %10.6f, DEC, op=OP2 33 32 FIELD rawExp.object, 8, %s, Object 33 FIELD rawExp.filter, 10, %s, FILTER 34 34 FIELD rawExp.exp_time, 5, %.2f, exp_time 35 35 FIELD rawExp.airmass, 5, %.4f, airmass … … 37 37 FIELD chipProcessedImfile.bg_stdev, 5, %.2f, stdev 38 38 FIELD chipProcessedImfile.n_stars, 5, %d, Nstars 39 FIELD chipProcessedImfile.n_astrom, 5, %d, Nastrom40 FIELD chipProcessedImfile.sigma_ra, 5, %f, sigma ra41 39 FIELD chipProcessedImfile.fwhm_major, 5, %f, FHWM 42 40 FIELD chipProcessedImfile.path_base, 5, %s, path_base, none -
trunk/ippMonitor/def/chipProcessedImfile_failure.d
r18193 r18313 28 28 FIELD rawExp.camera, 10, %s, Camera 29 29 FIELD rawExp.dateobs, 19, %T, Date/Time 30 FIELD rawExp.filter, 10, %s, FILTER31 30 FIELD rawExp.ra, 8, %10.6f, RA, op=OP1 32 31 FIELD rawExp.decl, 8, %10.6f, DEC, op=OP2 33 32 FIELD rawExp.object, 8, %s, Object 33 FIELD rawExp.filter, 10, %s, FILTER 34 34 FIELD rawExp.exp_time, 5, %.2f, exp_time 35 35 FIELD rawExp.airmass, 5, %.4f, airmass … … 37 37 FIELD chipProcessedImfile.bg_stdev, 5, %.2f, stdev 38 38 FIELD chipProcessedImfile.n_stars, 5, %d, Nstars 39 FIELD chipProcessedImfile.n_astrom, 5, %d, Nastrom40 FIELD chipProcessedImfile.sigma_ra, 5, %f, sigma ra41 39 FIELD chipProcessedImfile.fwhm_major, 5, %f, FHWM 42 40 FIELD chipProcessedImfile.path_base, 5, %s, path_base, none
Note:
See TracChangeset
for help on using the changeset viewer.
