IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14096


Ignore:
Timestamp:
Jul 9, 2007, 5:10:37 PM (19 years ago)
Author:
eugene
Message:

updated to match new schema

Location:
trunk/ippMonitor/def
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/def/camPendingExp.d

    r14044 r14096  
    1 TABLE camPendingExp, chipProcessedExp
     1TABLE camRun, chipRun, rawExp
    22TITLE Camera Pending
    33FILE  camPendingExp.php
    44MENU  ipp.science.dat
    55
    6 WHERE camPendingExp.chip_id = chipProcessedExp.chip_id
     6WHERE camRun.state != 'stop'
     7WHERE camRun.chip_id = chipRun.chip_id
     8WHERE chipRun.exp_id = rawExp.exp_id
    79
    8 ARGS  ARG1  chipProcessedExp.exp_id=$chipProcessedExp.exp_id
     10ARGS  ARG1  chipRun.exp_id=$chipRun.exp_id
    911
    1012#     field                     size  name          show   link to                  extras
    11 FIELD chipProcessedExp.exp_id,  20,   exposure ID,  value, chipProcessedImfile.php, ARG1
    12 FIELD camPendingExp.chip_id,    20,   chip ID,      value, chipProcessedExp.php,    ARG1
    13 FIELD camPendingExp.cam_id,     20,   cam ID
     13FIELD camRun.cam_id,             5,   chip ID,      value, chipProcessedExp.php,    ARG1
     14FIELD chipRun.chip_id,           5,   cam ID
     15FIELD chipRun.exp_id,            5,   exposure ID,  value, chipProcessedImfile.php, ARG1
     16FIELD rawExp.exp_name,           5,   Exp Name,     value, rawImfile.php,  ARG1
     17FIELD rawExp.telescope,         10,   Telescope
     18FIELD rawExp.camera,            10,   Camera
     19FIELD rawExp.dateobs,           20,   Date/Time
     20FIELD rawExp.filter,            10,   FILTER
     21FIELD rawExp.ra,                 5,   RA   
     22FIELD rawExp.decl,               5,   Dec
     23FIELD rawExp.exp_time,           5,   exp_time   
     24FIELD rawExp.sat_pixel_frac,     5,   f(sat pixels)
     25FIELD rawExp.airmass,            5,   airmass     
     26FIELD rawExp.bg,                 5,   backgnd
     27FIELD rawExp.bg_stdev,           5,   stdev   
     28FIELD rawExp.bg_mean_stdev,      5,   <backgnd>
  • trunk/ippMonitor/def/camProcessedExp.d

    r14044 r14096  
    1 TABLE camProcessedExp, chipProcessedExp, rawExp
    2 TITLE Camera-Level Processed Exposures
     1TABLE camRun, camProcessedExp, chipRun, rawExp
     2TITLE Camera Processed
    33FILE  camProcessedExp.php
    44MENU  ipp.science.dat
    55
    6 WHERE camProcessedExp.chip_id = chipProcessedExp.chip_id
    7 WHERE chipProcessedExp.exp_id = rawExp.exp_id
     6WHERE camRun.state = 'stop'
     7WHERE camRun.chip_id = chipRun.chip_id
     8WHERE chipRun.exp_id = rawExp.exp_id
     9WHERE camProcessedExp.cam_id = camRun.cam_id
     10WHERE camProcessedExp.chip_id = camRun.chip_id
    811
    9 # define image names to be used below
    10 # IMAGE VAR basename filerule camera class_id
    11 IMAGE JPEG  $camProcessedExp.path_base PPIMAGE.JPEG2 $rawExp.camera NONE
     12ARGS  ARG1  chipRun.exp_id=$chipRun.exp_id
    1213
    13 # show all chips for this camera exposure, summary stats from the camera tables
    14 ARGS  ARG1  camera=$rawExp.camera
    15 ARGS  ARG1  basename=$camProcessedExp.path_base
    16 ARGS  ARG1  exp_id=$chipProcessedExp.exp_id
     14#     field                     size  name          show   link to                  extras
     15FIELD camRun.cam_id,             5,   chip ID,      value, chipProcessedExp.php,    ARG1
     16FIELD chipRun.chip_id,           5,   cam ID
     17FIELD chipRun.exp_id,            5,   exposure ID,  value, chipProcessedImfile.php, ARG1
     18FIELD rawExp.exp_name,           5,   Exp Name,     value, rawImfile.php,  ARG1
     19FIELD rawExp.telescope,         10,   Telescope
     20FIELD rawExp.camera,            10,   Camera
     21FIELD rawExp.dateobs,           20,   Date/Time
     22FIELD rawExp.filter,            10,   FILTER
     23FIELD rawExp.ra,                 5,   RA   
     24FIELD rawExp.decl,               5,   Dec
     25FIELD rawExp.exp_time,           5,   exp_time   
     26FIELD rawExp.sat_pixel_frac,     5,   f(sat pixels)
     27FIELD rawExp.airmass,            5,   airmass     
     28FIELD rawExp.bg,                 5,   backgnd
     29FIELD rawExp.bg_stdev,           5,   stdev   
     30FIELD rawExp.bg_mean_stdev,      5,   <backgnd>
    1731
    18 #     field                           size  name       show        link to                  extras
    19 FIELD chipProcessedExp.exp_id,        5,    Exp ID,    value
    20 FIELD *,                              8,    image,     image=JPEG, chipProcessedImfile.php, ARG1
    21 FIELD camProcessedExp.bg,             8,    backgnd,   value
    22 FIELD camProcessedExp.bg_mean_stdev,  8,    [stdev],   value
    23 FIELD camProcessedExp.bg_stdev,       8,    stdev,     value
    24 FIELD camProcessedExp.path_base,      20,   path_base, value
    25 FIELD camProcessedExp.uri,            20,   uri,       value
     32FIELD camProcessedExp.n_stars,  5, Nstars
     33FIELD camProcessedExp.n_astrom, 5, Nastrom
     34FIELD camProcessedExp.sigma_ra, 5, sigma ra
     35FIELD camProcessedExp.fwhm,     5, FHWM
  • trunk/ippMonitor/def/chipPendingExp.d

    r14044 r14096  
    1 TABLE chipPendingExp, rawExp
    2 TITLE chipPendingExp
     1TABLE chipRun, rawExp
     2TITLE chip Pending Exposures
    33FILE  chipPendingExp.php
    44MENU  ipp.science.dat
    55
    66# limit this table to non-OBJECT types of images
    7 WHERE chipPendingExp.exp_id = rawExp.exp_id
     7WHERE chipRun.exp_id = rawExp.exp_id
    88
    9 ARGS  ARG1  exp_id=$exp_id
     9ARGS  ARG1  exp_id=$chipRun.exp_id
    1010
    1111#     field                   size  name         show    link to         extras
    12 FIELD chipPendingExp.chip_id,    7, chip ID
    13 FIELD chipPendingExp.exp_id,     5, exposure ID, value,  rawImfile.php,  ARG1
     12FIELD chipRun.chip_id,           7, chip ID
     13FIELD chipRun.exp_id,            5, Exp ID
     14FIELD rawExp.exp_name,           5, Exp Name,    value,  rawImfile.php,  ARG1
    1415FIELD rawExp.telescope,         10, Telescope
    1516FIELD rawExp.camera,            10, Camera
  • trunk/ippMonitor/def/chipProcessedExp.d

    r14044 r14096  
    1 TABLE chipProcessedExp
    2 TITLE chipProcessedExp
    3 FILE  chipProcessedExp.php
     1TABLE chipRun, rawExp, chipProcessedImfile
     2TITLE chip Processed Exposures
     3FILE  chipPendingExp.php
    44MENU  ipp.science.dat
    55
    6 ARGS  ARG1  exp_id=$exp_id
     6# limit this table to non-OBJECT types of images
     7WHERE chipRun.state = 'stop'
     8WHERE chipRun.exp_id = rawExp.exp_id
     9WHERE chipProcessedImfile.exp_id = chipRun.exp_id
     10WHERE chipProcessedImfile.chip_id = chipRun.chip_id
    711
    8 #     field          size  name           show     link to                   extras
    9 FIELD exp_id,        20,   Exp ID,        value,   chipProcessedImfile.php,  ARG1
    10 FIELD chip_id,       20,   Chip ID
    11 FIELD guide_id,      20,   guide ID,      value,   guideProcessedExp.php,    ARG1
    12 FIELD label,         20,   label
    13 FIELD workdir,       20,   workdir
     12ARGS  ARG1  exp_id=$chipRun.exp_id
     13
     14#     field                   size  name         show    link to         extras
     15FIELD chipRun.chip_id,           7, chip ID
     16FIELD chipRun.exp_id,            5, Exp ID
     17FIELD rawExp.exp_name,           5, Exp Name,    value,  rawImfile.php,  ARG1
     18FIELD rawExp.telescope,         10, Telescope
     19FIELD rawExp.camera,            10, Camera
     20FIELD rawExp.dateobs,           20, Date/Time
     21FIELD rawExp.filter,            10, FILTER
     22FIELD rawExp.ra,                 5, RA   
     23FIELD rawExp.decl,               5, Dec
     24FIELD rawExp.exp_time,           5, exp_time   
     25FIELD rawExp.sat_pixel_frac,     5, f(sat pixels)
     26FIELD rawExp.airmass,            5, airmass     
     27FIELD rawExp.bg,                 5, backgnd
     28FIELD rawExp.bg_stdev,           5, stdev   
     29FIELD rawExp.bg_mean_stdev,      5, <backgnd>
     30
     31FIELD chipProcessedImfile.n_stars,  5, Nstars
     32FIELD chipProcessedImfile.n_astrom, 5, Nastrom
     33FIELD chipProcessedImfile.sigma_ra, 5, sigma ra
     34FIELD chipProcessedImfile.fwhm,     5, FHWM
     35
     36# FIELD chipPendingExp.reduction,    20,   reduction
     37# FIELD chipPendingExp.guide_id,     20, guide ID
Note: See TracChangeset for help on using the changeset viewer.