Changeset 18970
- Timestamp:
- Aug 8, 2008, 9:01:19 AM (18 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 10 edited
-
def/camPendingExp.d (modified) (2 diffs)
-
def/camProcessedExp.d (modified) (2 diffs)
-
def/camProcessedExp_NoImages.d (modified) (1 diff)
-
def/camProcessedExp_failure.d (modified) (2 diffs)
-
def/camStageExp.d (modified) (3 diffs)
-
def/chipPendingExp.d (modified) (1 diff)
-
def/chipPendingImfile.d (modified) (3 diffs)
-
def/chipProcessedImfile.d (modified) (2 diffs)
-
def/chipProcessedImfile_failure.d (modified) (2 diffs)
-
raw/ipp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/def/camPendingExp.d
r18193 r18970 14 14 15 15 # field size format name show link to extras 16 FIELD chipRun.exp_id, 5, %s, exposure ID,value, chipProcessedImfile.php, ARG116 FIELD chipRun.exp_id, 5, %s, Exp ID, value, chipProcessedImfile.php, ARG1 17 17 FIELD rawExp.exp_name, 5, %s, Exp Name, value, rawImfile.php, ARG1 18 18 FIELD chipRun.chip_id, 5, %s, chip ID, value, chipProcessedExp.php, ARG1 19 19 FIELD camRun.cam_id, 5, %s, cam ID 20 FIELD camRun.state, 5, %s, state 20 21 FIELD rawExp.telescope, 10, %s, Telescope 21 22 FIELD rawExp.camera, 10, %s, Camera … … 29 30 FIELD rawExp.bg, 5, %.2f, backgnd 30 31 FIELD rawExp.bg_stdev, 5, %.2f, stdev 31 FIELD rawExp.bg_mean_stdev, 5, %.2f, <backgnd> 32 FIELD rawExp.sat_pixel_frac, 5, %.3f, f(sat pixels) 32 FIELD rawExp.comment, 65, %s, Comment 33 34 # FIELD rawExp.bg_mean_stdev, 5, %.2f, <backgnd> -
trunk/ippMonitor/def/camProcessedExp.d
r18313 r18970 9 9 WHERE chipRun.exp_id = rawExp.exp_id 10 10 WHERE camProcessedExp.cam_id = camRun.cam_id 11 WHERE camProcessedExp.fault = 0 11 12 12 13 # define image names to be used below … … 40 41 FIELD rawExp.exp_time, 5, %.2f, exp_time 41 42 FIELD rawExp.airmass, 5, %.4f, airmass 42 FIELD camRun.reduction, 5, %s, reduction43 43 FIELD camProcessedExp.bg, 5, %.2f, backgnd 44 44 FIELD camProcessedExp.bg_stdev, 5, %.2f, stdev 45 FIELD camProcessedExp.bg_mean_stdev, 5, %.2f, <backgnd>46 45 FIELD camProcessedExp.n_stars, 5, %d, Nstars 47 46 FIELD camProcessedExp.n_astrom, 5, %d, Nastrom 48 47 FIELD camProcessedExp.sigma_ra, 5, %f, sigma ra 49 48 FIELD camProcessedExp.fwhm_major, 5, %f, FHWM (major) 49 FIELD rawExp.comment, 65, %s, Comment 50 50 51 FIELD camProcessedExp.path_base, 5, %s, path_base, none 51 52 FIELD rawExp.exp_id, 5, %s, Exp ID, none 52 53 53 54 # the last two are used as arguments elsewhere, thus needed in the list, even if not displayed 55 # FIELD camRun.reduction, 5, %s, reduction 56 # FIELD camProcessedExp.bg_mean_stdev, 5, %.2f, <backgnd> -
trunk/ippMonitor/def/camProcessedExp_NoImages.d
r18313 r18970 31 31 FIELD chipRun.chip_id, 5, %d, chip ID 32 32 FIELD camRun.cam_id, 5, %d, cam ID, value, chipProcessedExp.php, ARG1 33 FIELD camRun.state, 5, %s, state 33 34 FIELD rawExp.telescope, 10, %s, Telescope 34 35 FIELD rawExp.camera, 10, %s, Camera 35 36 FIELD rawExp.dateobs, 19, %T, Date/Time 36 FIELD rawExp.filter, 10, %s, FILTER37 37 FIELD rawExp.ra, 8, %10.6f, RA, op=OP1 38 38 FIELD rawExp.decl, 8, %10.6f, DEC, op=OP2 39 39 FIELD rawExp.object, 10, %s, Object 40 FIELD rawExp.filter, 10, %s, FILTER 40 41 FIELD rawExp.exp_time, 5, %.2f, exp_time 41 42 FIELD rawExp.airmass, 5, %.4f, airmass 42 FIELD camRun.reduction, 5, %s, reduction43 43 FIELD camProcessedExp.bg, 5, %.2f, backgnd 44 44 FIELD camProcessedExp.bg_stdev, 5, %.2f, stdev 45 FIELD camProcessedExp.bg_mean_stdev, 5, %.2f, <backgnd>46 45 FIELD camProcessedExp.n_stars, 5, %d, Nstars 47 46 FIELD camProcessedExp.n_astrom, 5, %d, Nastrom 48 47 FIELD camProcessedExp.sigma_ra, 5, %f, sigma ra 49 48 FIELD camProcessedExp.fwhm_major, 5, %f, FHWM (major) 49 FIELD rawExp.comment, 65, %s, Comment 50 50 51 FIELD camProcessedExp.path_base, 5, %s, path_base, none 51 52 FIELD rawExp.exp_id, 5, %s, Exp ID, none 53 54 # FIELD camProcessedExp.bg_mean_stdev, 5, %.2f, <backgnd> -
trunk/ippMonitor/def/camProcessedExp_failure.d
r18340 r18970 1 1 TABLE camRun, camProcessedExp, chipRun, rawExp 2 TITLE Camera Processed (No Images)2 TITLE Camera Failed Exposures 3 3 FILE camProcessedExp_failure.php 4 4 MENU ipp.science.dat … … 31 31 FIELD chipRun.chip_id, 5, %d, chip ID, value, chipProcessedExp.php, ARG1 32 32 FIELD camRun.cam_id, 5, %d, cam ID, value, camProcessedExp_failure.php, ARG2 33 FIELD camRun.state, 5, %s, state 33 34 FIELD rawExp.telescope, 10, %s, Telescope 34 35 FIELD rawExp.camera, 10, %s, Camera 35 36 FIELD rawExp.dateobs, 19, %T, Date/Time 36 FIELD rawExp.filter, 10, %s, FILTER37 37 FIELD rawExp.ra, 8, %10.6f, RA, op=OP1 38 38 FIELD rawExp.decl, 8, %10.6f, DEC, op=OP2 39 39 FIELD rawExp.object, 10, %s, Object 40 FIELD rawExp.filter, 10, %s, FILTER 40 41 FIELD rawExp.exp_time, 5, %.2f, exp_time 41 42 FIELD rawExp.airmass, 5, %.4f, airmass 42 FIELD camRun.reduction, 5, %s, reduction43 43 FIELD camProcessedExp.bg, 5, %.2f, backgnd 44 44 FIELD camProcessedExp.bg_stdev, 5, %.2f, stdev 45 FIELD camProcessedExp.bg_mean_stdev, 5, %.2f, <backgnd>46 45 FIELD camProcessedExp.n_stars, 5, %d, Nstars 47 46 FIELD camProcessedExp.n_astrom, 5, %d, Nastrom 48 47 FIELD camProcessedExp.sigma_ra, 5, %f, sigma ra 49 48 FIELD camProcessedExp.fwhm_major, 5, %f, FHWM (major) 49 FIELD rawExp.comment, 65, %s, Comment 50 50 51 FIELD camProcessedExp.path_base, 5, %s, path_base, none 51 52 FIELD rawExp.exp_id, 5, %s, Exp ID, none 52 53 54 # FIELD camRun.reduction, 5, %s, reduction 55 # FIELD camProcessedExp.bg_mean_stdev, 5, %.2f, <backgnd> 56 53 57 TAIL PHP insert_log ('LOG.IMFILE'); -
trunk/ippMonitor/def/camStageExp.d
r18340 r18970 1 1 TABLE camRun, chipRun, rawExp 2 TITLE Camera Pending3 FILE cam PendingExp.php2 TITLE Camera Stage Exposures 3 FILE camStageExp.php 4 4 MENU ipp.science.dat 5 5 … … 12 12 OP OP2 $rawExp.decl * 57.295783 13 13 14 14 15 # field size format name show link to extras 15 FIELD chipRun.exp_id, 5, %s, exposure ID,value, chipProcessedImfile.php, ARG116 FIELD chipRun.exp_id, 5, %s, Exp ID, value, chipProcessedImfile.php, ARG1 16 17 FIELD rawExp.exp_name, 5, %s, Exp Name, value, rawImfile.php, ARG1 17 18 FIELD chipRun.chip_id, 5, %s, chip ID, value, chipProcessedExp.php, ARG1 … … 29 30 FIELD rawExp.bg, 5, %.2f, backgnd 30 31 FIELD rawExp.bg_stdev, 5, %.2f, stdev 31 FIELD rawExp.bg_mean_stdev, 5, %.2f, <backgnd> 32 FIELD rawExp.sat_pixel_frac, 5, %.3f, f(sat pixels) 32 FIELD rawExp.comment, 65, %s, Comment 33 34 # FIELD rawExp.bg_mean_stdev, 5, %.2f, <backgnd> -
trunk/ippMonitor/def/chipPendingExp.d
r18722 r18970 21 21 FIELD rawExp.camera, 10, %s, Camera 22 22 FIELD rawExp.dateobs, 19, %T, Date/Time 23 FIELD rawExp.ra, 5, %10.6f, RA, op=OP124 FIELD rawExp.decl, 5, %10.6f, DEC, op=OP223 FIELD rawExp.ra, 8, %10.6f, RA, op=OP1 24 FIELD rawExp.decl, 8, %10.6f, DEC, op=OP2 25 25 FIELD rawExp.object, 8, %s, Object 26 26 FIELD rawExp.filter, 10, %s, FILTER -
trunk/ippMonitor/def/chipPendingImfile.d
r18722 r18970 21 21 FIELD chipRun.exp_id, 5, %d, Exp ID 22 22 FIELD rawExp.exp_name, 5, %s, Exp Name, value, rawImfile.php, ARG1 23 FIELD rawImfile.class_id, 5, %s, Class ID23 FIELD rawImfile.class_id, 8, %s, Class ID 24 24 FIELD chipRun.chip_id, 7, %d, chip ID 25 25 FIELD chipRun.state, 7, %s, state … … 27 27 FIELD rawExp.camera, 10, %s, Camera 28 28 FIELD rawExp.dateobs, 19, %T, Date/Time 29 FIELD rawExp.ra, 5, %10.6f, RA, op=OP130 FIELD rawExp.decl, 5, %10.6f, DEC, op=OP229 FIELD rawExp.ra, 8, %10.6f, RA, op=OP1 30 FIELD rawExp.decl, 8, %10.6f, DEC, op=OP2 31 31 FIELD rawExp.object, 8, %s, Object 32 32 FIELD rawExp.filter, 10, %s, FILTER … … 35 35 FIELD rawExp.bg, 5, %.2f, backgnd 36 36 FIELD rawExp.bg_stdev, 5, %.2f, stdev 37 FIELD *, 5, %d, Nstars, value=0 38 FIELD *, 5, %.2f, FHWM, value=0.0 37 39 FIELD rawExp.comment, 65, %s, Comment -
trunk/ippMonitor/def/chipProcessedImfile.d
r18373 r18970 23 23 FIELD chipRun.exp_id, 5, %d, Exp ID, value, rawImfile.php, ARG1 24 24 FIELD rawExp.exp_name, 5, %s, Exp Name, value, chipProcessedImfile.php, ARG2 25 FIELD chipProcessedImfile.class_id, 5, %s, Class ID25 FIELD chipProcessedImfile.class_id, 8, %s, Class ID 26 26 FIELD chipRun.chip_id, 7, %d, chip ID 27 27 FIELD chipRun.state, 7, %s, state … … 33 33 FIELD rawExp.object, 8, %s, Object 34 34 FIELD rawExp.filter, 10, %s, FILTER 35 FIELD rawExp.exp_time, 5, %.2f, exp_time36 FIELD rawExp.airmass, 5, %.4f, airmass37 FIELD chipProcessedImfile.bg, 5, %.2f, backgnd38 FIELD chipProcessedImfile.bg_stdev, 5, %.2f, stdev35 FIELD rawExp.exp_time, 5, %.2f, exp_time 36 FIELD rawExp.airmass, 5, %.4f, airmass 37 FIELD chipProcessedImfile.bg, 5, %.2f, backgnd 38 FIELD chipProcessedImfile.bg_stdev, 5, %.2f, stdev 39 39 FIELD chipProcessedImfile.n_stars, 5, %d, Nstars 40 FIELD chipProcessedImfile.fwhm_major, 5, % f,FHWM40 FIELD chipProcessedImfile.fwhm_major, 5, %.2f, FHWM 41 41 FIELD chipProcessedImfile.path_base, 5, %s, path_base, none 42 FIELD rawExp.comment, 65, %s, Comment 42 43 43 44 TAIL PHP insert_log ('LOG.IMFILE'); -
trunk/ippMonitor/def/chipProcessedImfile_failure.d
r18373 r18970 24 24 FIELD chipRun.exp_id, 5, %d, Exp ID, value, rawImfile.php, ARG1 25 25 FIELD rawExp.exp_name, 5, %s, Exp Name, value, chipProcessedImfile_failure.php, ARG2 26 FIELD chipProcessedImfile.class_id, 5, %s, Class ID26 FIELD chipProcessedImfile.class_id, 8, %s, Class ID 27 27 FIELD chipRun.chip_id, 7, %d, chip ID 28 28 FIELD chipRun.state, 7, %s, state … … 39 39 FIELD chipProcessedImfile.bg_stdev, 5, %.2f, stdev 40 40 FIELD chipProcessedImfile.n_stars, 5, %d, Nstars 41 FIELD chipProcessedImfile.fwhm_major, 5, % f,FHWM41 FIELD chipProcessedImfile.fwhm_major, 5, %.2f, FHWM 42 42 FIELD chipProcessedImfile.path_base, 5, %s, path_base, none 43 FIELD rawExp.comment, 65, %s, Comment 43 44 44 45 TAIL PHP insert_log ('LOG.IMFILE'); -
trunk/ippMonitor/raw/ipp.php
r18373 r18970 310 310 // add a sort key? 311 311 $sortKey = ""; 312 if ($_SERVER[REQUEST_METHOD] == 'GET') { 313 $sortKey = "&sort=" . $_GET['sort']; 314 } else { 315 $sortKey = "&sort=" . $_POST['sort']; 316 } 317 if ($_SERVER[REQUEST_METHOD] == 'GET') { 318 $sortKey = "&rsort=" . $_GET['rsort']; 319 } else { 320 $sortKey = "&rsort=" . $_POST['rsort']; 312 // try sort forward 313 if ($_SERVER[REQUEST_METHOD] == 'GET') { 314 $sortVal = $_GET['sort']; 315 } else { 316 $sortVal = $_POST['sort']; 317 } 318 if ($sortVal != "") { 319 $sortKey = "&sort=" . $sortVal; 320 } 321 // try sort reverse 322 if ($sortKey == "") { 323 if ($_SERVER[REQUEST_METHOD] == 'GET') { 324 $sortKey = $_GET['rsort']; 325 } else { 326 $sortKey = $_POST['rsort']; 327 } 328 if ($sortVal != "") { 329 $sortKey = "&rsort=" . $sortVal; 330 } 321 331 } 322 332 … … 502 512 503 513 if ($_SERVER[REQUEST_METHOD] == 'GET') { 504 $up = $_GET['sort']; 505 $down = $_GET['rsort']; 506 } else { 507 $up = $_POST['sort']; 508 $down = $_POST['rsort']; 514 $up = $_GET['rsort']; 515 $down = $_GET['sort']; 516 $from = $_GET['from']; 517 } else { 518 $up = $_POST['rsort']; 519 $down = $_POST['sort']; 520 $from = $_POST['from']; 521 } 522 523 // down button link 524 $link = "$baselink" . "&sort=$value"; 525 if ($from != "") { 526 $link = $link . "&from=$from"; 527 } 528 if ($down == $value) { 529 echo "<a href=\"$link\"><img src=\"down_sel.png\"></a>"; 530 } else { 531 echo "<a href=\"$link\"><img src=\"down.png\"></a>"; 509 532 } 510 533 511 534 // up button link 512 $link = "$baselink" . "&sort=$value"; 535 $link = "$baselink" . "&rsort=$value"; 536 if ($from != "") { 537 $link = $link . "&from=$from"; 538 } 513 539 if ($up == $value) { 514 540 echo "<a href=\"$link\"><img src=\"up_sel.png\"></a>"; 515 541 } else { 516 542 echo "<a href=\"$link\"><img src=\"up.png\"></a>"; 517 }518 519 // down button link520 $link = "$baselink" . "&rsort=$value";521 if ($down == $value) {522 echo "<a href=\"$link\"><img src=\"down_sel.png\"></a>";523 } else {524 echo "<a href=\"$link\"><img src=\"down.png\"></a>";525 543 } 526 544
Note:
See TracChangeset
for help on using the changeset viewer.
