Changeset 14113 for trunk/ippMonitor
- Timestamp:
- Jul 10, 2007, 3:07:42 PM (19 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 1 added
- 7 edited
-
def/autocode.php (modified) (2 diffs)
-
def/camProcessedExp.d (modified) (1 diff)
-
def/camProcessedImfile.d (added)
-
def/chipProcessedExp.d (modified) (3 diffs)
-
def/chipProcessedImfile.d (modified) (1 diff)
-
def/detResidExp.d (modified) (1 diff)
-
def/detResidImfile.d (modified) (1 diff)
-
raw/ipp.science.dat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/def/autocode.php
r13566 r14113 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"; 30 31 31 32 $qry = $db->query($sql); … … 51 52 // query the database 52 53 $sql = "SELECT $FIELDS FROM $TABLE $WHERE LIMIT $dTABLE OFFSET $rowStart"; 54 // echo "<br><small><b> table query : $sql </b></small><br>\n"; 53 55 54 56 $qry = $db->query($sql); -
trunk/ippMonitor/def/camProcessedExp.d
r14096 r14113 4 4 MENU ipp.science.dat 5 5 6 # the following WHERE clauses are added to all queries joined by AND 6 7 WHERE camRun.state = 'stop' 7 8 WHERE camRun.chip_id = chipRun.chip_id 8 9 WHERE chipRun.exp_id = rawExp.exp_id 9 WHERE camProcessedExp.cam_id = camRun.cam_id10 WHERE camProcessedExp.cam_id = camRun.cam_id 10 11 WHERE camProcessedExp.chip_id = camRun.chip_id 11 12 13 # define image names to be used below 14 # IMAGE VAR basename filerule camera class_id 15 IMAGE JPEG2 $camProcessedExp.path_base PPIMAGE.JPEG2 $rawExp.camera NONE 16 17 # define the arguments supplied to the links below (if any) 12 18 ARGS ARG1 chipRun.exp_id=$chipRun.exp_id 13 19 14 # field size name show link to extras 15 FIELD camRun.cam_id, 5, chip ID, value, chipProcessedExp.php, ARG1 16 FIELD chipRun.chip_id, 5, cam ID 17 FIELD chipRun.exp_id, 5, exposure ID, value, chipProcessedImfile.php, ARG1 18 FIELD rawExp.exp_name, 5, Exp Name, value, rawImfile.php, ARG1 19 FIELD rawExp.telescope, 10, Telescope 20 FIELD rawExp.camera, 10, Camera 21 FIELD rawExp.dateobs, 20, Date/Time 22 FIELD rawExp.filter, 10, FILTER 23 FIELD rawExp.ra, 5, RA 24 FIELD rawExp.decl, 5, Dec 25 FIELD rawExp.exp_time, 5, exp_time 26 FIELD rawExp.sat_pixel_frac, 5, f(sat pixels) 27 FIELD rawExp.airmass, 5, airmass 28 FIELD rawExp.bg, 5, backgnd 29 FIELD rawExp.bg_stdev, 5, stdev 30 FIELD rawExp.bg_mean_stdev, 5, <backgnd> 20 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 31 24 32 FIELD camProcessedExp.n_stars, 5, Nstars 33 FIELD camProcessedExp.n_astrom, 5, Nastrom 34 FIELD camProcessedExp.sigma_ra, 5, sigma ra 35 FIELD camProcessedExp.fwhm, 5, FHWM 25 # field size name show link to extras 26 FIELD rawExp.exp_name, 5, Exp Name, value, rawImfile.php, ARG1 27 FIELD chipRun.exp_id, 5, Exp ID, value, chipProcessedImfile.php, ARG1 28 FIELD chipRun.chip_id, 5, chip ID 29 FIELD camRun.cam_id, 5, cam ID, value, chipProcessedExp.php, ARG1 30 FIELD *, 8, image, image=JPEG2, camProcessedImfile.php, ARG2 31 FIELD rawExp.telescope, 10, Telescope 32 FIELD rawExp.camera, 10, Camera 33 FIELD rawExp.dateobs, 20, Date/Time 34 FIELD rawExp.filter, 10, FILTER 35 FIELD rawExp.ra, 5, RA 36 FIELD rawExp.decl, 5, Dec 37 FIELD rawExp.exp_time, 5, exp_time 38 FIELD rawExp.sat_pixel_frac, 5, f(sat pixels) 39 FIELD rawExp.airmass, 5, airmass 40 FIELD camProcessedExp.bg, 5, backgnd 41 FIELD camProcessedExp.bg_stdev, 5, stdev 42 FIELD camProcessedExp.bg_mean_stdev, 5, <backgnd> 43 FIELD camProcessedExp.n_stars, 5, Nstars 44 FIELD camProcessedExp.n_astrom, 5, Nastrom 45 FIELD camProcessedExp.sigma_ra, 5, sigma ra 46 FIELD camProcessedExp.fwhm, 5, FHWM 47 FIELD camProcessedExp.path_base, 5, path_base, none 48 FIELD rawExp.exp_id, 5, Exp ID, none -
trunk/ippMonitor/def/chipProcessedExp.d
r14096 r14113 1 TABLE chipRun, rawExp , chipProcessedImfile1 TABLE chipRun, rawExp 2 2 TITLE chip Processed Exposures 3 FILE chipP endingExp.php3 FILE chipProcessedExp.php 4 4 MENU ipp.science.dat 5 5 … … 7 7 WHERE chipRun.state = 'stop' 8 8 WHERE chipRun.exp_id = rawExp.exp_id 9 WHERE chipProcessedImfile.exp_id = chipRun.exp_id10 WHERE chipProcessedImfile.chip_id = chipRun.chip_id11 9 12 10 ARGS ARG1 exp_id=$chipRun.exp_id 11 ARGS ARG2 chipRun.chip_id=$chipRun.chip_id 13 12 14 # field size name show link to extras13 # field size name show link to extras 15 14 FIELD chipRun.chip_id, 7, chip ID 16 FIELD chipRun.exp_id, 5, Exp ID 17 FIELD rawExp.exp_name, 5, Exp Name, value, rawImfile.php, ARG115 FIELD chipRun.exp_id, 5, Exp ID, value, rawImfile.php, ARG1 16 FIELD rawExp.exp_name, 5, Exp Name, value, chipProcessedImfile.php, ARG2 18 17 FIELD rawExp.telescope, 10, Telescope 19 18 FIELD rawExp.camera, 10, Camera … … 29 28 FIELD rawExp.bg_mean_stdev, 5, <backgnd> 30 29 31 FIELD chipProcessedImfile.n_stars, 5, Nstars32 FIELD chipProcessedImfile.n_astrom, 5, Nastrom33 FIELD chipProcessedImfile.sigma_ra, 5, sigma ra34 FIELD chipProcessedImfile.fwhm, 5, FHWM35 36 30 # FIELD chipPendingExp.reduction, 20, reduction 37 31 # FIELD chipPendingExp.guide_id, 20, guide ID -
trunk/ippMonitor/def/chipProcessedImfile.d
r14044 r14113 1 TABLE chip ProcessedImfile, chipProcessedExp2 TITLE chip ProcessedImfile1 TABLE chipRun, rawExp, chipProcessedImfile 2 TITLE chip Processed Imfile 3 3 FILE chipProcessedImfile.php 4 MENU ipp. imfiles.dat4 MENU ipp.science.dat 5 5 6 WHERE chipProcessedImfile.chip_id = chipProcessedExp.chip_id 6 # limit this table to non-OBJECT types of images 7 WHERE chipRun.state = 'stop' 8 WHERE chipRun.exp_id = rawExp.exp_id 9 WHERE chipProcessedImfile.exp_id = chipRun.exp_id 10 WHERE chipProcessedImfile.chip_id = chipRun.chip_id 7 11 8 # field size name show link to extras 9 FIELD chipProcessedExp.exp_id, 15, Exposure 10 FIELD chipProcessedImfile.class_id, 8, Chip ID 11 FIELD chipProcessedImfile.bg, 8, backgnd 12 FIELD chipProcessedImfile.bg_mean_stdev, 8, [stdev] 13 FIELD chipProcessedImfile.bg_stdev, 8, stdev 12 ARGS ARG1 exp_id=$chipRun.exp_id 14 13 15 TAIL PHP insert_image ('PPIMAGE.JPEG1'); 14 # field size name show link to extras 15 FIELD chipRun.chip_id, 7, chip ID 16 FIELD chipRun.exp_id, 5, Exp ID, value, rawImfile.php, ARG1 17 FIELD rawExp.exp_name, 5, Exp Name, value, chipProcessedImfile.php, ARG2 18 FIELD rawExp.telescope, 10, Telescope 19 FIELD rawExp.camera, 10, Camera 20 FIELD rawExp.dateobs, 20, Date/Time 21 FIELD rawExp.filter, 10, FILTER 22 FIELD rawExp.ra, 5, RA 23 FIELD rawExp.decl, 5, Dec 24 FIELD rawExp.exp_time, 5, exp_time 25 FIELD rawExp.sat_pixel_frac, 5, f(sat pixels) 26 FIELD rawExp.airmass, 5, airmass 27 FIELD chipProcessedImfile.bg, 5, backgnd 28 FIELD chipProcessedImfile.bg_stdev, 5, stdev 29 FIELD chipProcessedImfile.bg_mean_stdev, 5, <backgnd> 30 31 FIELD chipProcessedImfile.n_stars, 5, Nstars 32 FIELD chipProcessedImfile.n_astrom, 5, Nastrom 33 FIELD chipProcessedImfile.sigma_ra, 5, sigma ra 34 FIELD chipProcessedImfile.fwhm, 5, FHWM 35 36 # FIELD chipPendingExp.reduction, 20, reduction 37 # FIELD chipPendingExp.guide_id, 20, guide ID -
trunk/ippMonitor/def/detResidExp.d
r14044 r14113 14 14 ARGS ARG1 exp_id=$detResidExp.exp_id 15 15 16 ARGS ARG2 det _id=$detResidExp.det_id17 ARGS ARG2 iteration=$detResidExp.iteration18 ARGS ARG2 exp_id=$detResidExp.exp_id16 ARGS ARG2 detResidImfile.det_id=$detResidExp.det_id 17 ARGS ARG2 detResidImfile.iteration=$detResidExp.iteration 18 ARGS ARG2 detResidImfile.exp_id=$detResidExp.exp_id 19 19 ARGS ARG2 camera=$rawExp.camera 20 20 ARGS ARG2 basename=$detResidExp.path_base -
trunk/ippMonitor/def/detResidImfile.d
r14044 r14113 5 5 6 6 # the following WHERE clauses are added to all queries joined by AND 7 WHERE detResid Exp.exp_id = rawExp.exp_id7 WHERE detResidImfile.exp_id = rawExp.exp_id 8 8 9 9 # field size name show link to extras -
trunk/ippMonitor/raw/ipp.science.dat
r12835 r14113 29 29 menutop | menuselect | plain | Guide Processed Exp | 30 30 menulink | menuselect | link | Chip Processed Exp | chipProcessedExp.php 31 menulink | menuselect | link | Chip Processed Imfiles | chipProcessedImfile.php 31 32 menulink | menuselect | link | Cam Processed Exp | camProcessedExp.php 32 33 menutop | menutop | plain | |
Note:
See TracChangeset
for help on using the changeset viewer.
