IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19183


Ignore:
Timestamp:
Aug 24, 2008, 3:14:18 PM (18 years ago)
Author:
eugene
Message:

adding label to ippMonitor tables

Location:
trunk/ippMonitor/def
Files:
2 deleted
26 edited

Legend:

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

    r19084 r19183  
    44MENU  ipp.science.dat
    55
    6 WHERE camRun.state = 'run'
     6WHERE camRun.state = 'new'
    77WHERE camRun.chip_id = chipRun.chip_id
    88WHERE chipRun.exp_id = rawExp.exp_id
     
    2121FIELD camRun.cam_id,             5,   %s,     Cam ID
    2222FIELD camRun.state,              5,   %s,     State
     23FIELD camRun.label,              5,   %s,     Label
    2324FIELD rawExp.telescope,         10,   %s,     Telescope
    2425FIELD rawExp.camera,            10,   %s,     Camera
  • trunk/ippMonitor/def/camProcessedExp.d

    r19084 r19183  
    55
    66# the following WHERE clauses are added to all queries joined by AND
    7 WHERE camRun.state = 'stop'
     7WHERE camRun.state = 'full'
    88WHERE camRun.chip_id = chipRun.chip_id
    99WHERE chipRun.exp_id = rawExp.exp_id
     
    3232FIELD chipRun.chip_id,                   5,   %s,     Chip ID,      value,       chipProcessedImfile.php, ARG2
    3333FIELD camRun.cam_id,                     5,   %s,     Cam ID,       value,       camProcessedExp.php,     ARG3
     34FIELD camRun.label,                      5,   %s,     Label
    3435FIELD *,                                 8,   %s,     image,        image=JPEG2, camProcessedImfile.php,  ARG4
    3536FIELD rawExp.telescope,                 10,   %s,     Telescope
  • trunk/ippMonitor/def/camProcessedExp_NoImages.d

    r19084 r19183  
    55
    66# the following WHERE clauses are added to all queries joined by AND
    7 WHERE camRun.state = 'stop'
     7WHERE camRun.state = 'full'
    88WHERE camRun.chip_id = chipRun.chip_id
    99WHERE chipRun.exp_id = rawExp.exp_id
     
    2929FIELD camRun.cam_id,                     5,   %s,     Cam ID,       value,       camProcessedExp.php,     ARG3
    3030FIELD camRun.state,                      5,   %s,     state,        value,       camProcessedImfile.php,  ARG4
     31FIELD camRun.label,                      5,   %s,     label
    3132FIELD rawExp.telescope,                 10,   %s,     Telescope
    3233FIELD rawExp.camera,                    10,   %s,     Camera
  • trunk/ippMonitor/def/camProcessedExp_failure.d

    r19084 r19183  
    55
    66# the following WHERE clauses are added to all queries joined by AND
    7 WHERE camRun.state = 'stop'
     7WHERE camRun.state = 'full'
    88WHERE camRun.chip_id = chipRun.chip_id
    99WHERE chipRun.exp_id = rawExp.exp_id
     
    2929FIELD camRun.cam_id,                     5,   %d,     Cam ID,       value,       camProcessedExp_failure.php, ARG3
    3030FIELD camRun.state,                      5,   %s,     state,        value,       camProcessedImfile.php,      ARG4
     31FIELD camRun.label,                      5,   %s,     label
    3132FIELD rawExp.telescope,                 10,   %s,     Telescope
    3233FIELD rawExp.camera,                    10,   %s,     Camera
  • trunk/ippMonitor/def/camProcessedImfile.d

    r19084 r19183  
    55
    66# the following WHERE clauses are added to all queries joined by AND
    7 WHERE camRun.state = 'stop'
     7WHERE camRun.state = 'full'
    88WHERE camRun.chip_id = chipRun.chip_id
    99WHERE chipRun.exp_id = rawExp.exp_id
     
    2424FIELD chipRun.chip_id,                   5,   %s,     Chip ID,      value,       chipProcessedImfile.php, ARG2
    2525FIELD camRun.cam_id,                     5,   %s,     Cam ID,       value,       camProcessedExp.php,     ARG3
     26FIELD camRun.label,                      5,   %s,     Label
    2627FIELD rawExp.telescope,                 10,   %s,     Telescope
    2728FIELD rawExp.camera,                    10,   %s,     Camera
  • trunk/ippMonitor/def/camStageExp.d

    r19084 r19183  
    2020FIELD camRun.cam_id,             5,   %s,     Cam ID,       value,  camProcessedExp.php,     ARG3
    2121FIELD camRun.state,              5,   %s,     state
     22FIELD camRun.label,              5,   %s,     label
    2223FIELD rawExp.telescope,         10,   %s,     Telescope
    2324FIELD rawExp.camera,            10,   %s,     Camera
  • trunk/ippMonitor/def/chipPendingExp.d

    r19084 r19183  
    1919FIELD chipRun.chip_id,           7, %d,     Chip ID,     value,  chipProcessedImfile.php, ARG2
    2020FIELD chipRun.state,             7, %s,     State
     21FIELD chipRun.label,             7, %s,     Label
    2122FIELD rawExp.telescope,         10, %s,     Telescope
    2223FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/chipPendingImfile.d

    r19084 r19183  
    2424FIELD chipRun.chip_id,           7, %d,     Chip ID,     value,  chipProcessedImfile.php, ARG2
    2525FIELD chipRun.state,             7, %s,     State
     26FIELD chipRun.label,             7, %s,     Label
    2627FIELD rawExp.telescope,         10, %s,     Telescope
    2728FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/chipProcessedExp.d

    r19084 r19183  
    1919FIELD chipRun.chip_id,           7, %d,     Chip ID,     value,  chipProcessedImfile.php, ARG2
    2020FIELD chipRun.state,             7, %s,     State
     21FIELD chipRun.label,             7, %s,     Label
    2122FIELD rawExp.telescope,         10, %s,     Telescope
    2223FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/chipProcessedImfile.d

    r19084 r19183  
    2929FIELD chipRun.chip_id,                    7, %d,     Chip ID,     value,  chipProcessedImfile.php, ARG2
    3030FIELD chipRun.state,                      7, %s,     State,       value,  chipProcessedImfile.php, ARG3
     31FIELD chipRun.label,                      7, %s,     Label
    3132FIELD rawExp.telescope,                  10, %s,     Telescope
    3233FIELD rawExp.camera,                     10, %s,     Camera
  • trunk/ippMonitor/def/chipProcessedImfile_failure.d

    r19084 r19183  
    2929FIELD chipRun.chip_id,                    7, %d,     Chip ID,     value,  chipProcessedImfile_failure.php, ARG2
    3030FIELD chipRun.state,                      7, %s,     State,       value,  chipProcessedImfile_failure.php, ARG3
     31FIELD chipRun.label,                      7, %s,     Label
    3132FIELD rawExp.telescope,                  10, %s,     Telescope
    3233FIELD rawExp.camera,                     10, %s,     Camera
  • trunk/ippMonitor/def/chipStageExp.d

    r19084 r19183  
    1717FIELD chipRun.chip_id,           7, %d,     Chip ID,     value,  chipProcessedImfile.php, ARG2
    1818FIELD chipRun.state,             7, %s,     State
     19FIELD chipRun.label,             7, %s,     Label
    1920FIELD rawExp.telescope,         10, %s,     Telescope
    2021FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/fakePendingExp.d

    r19084 r19183  
    2525FIELD fakeRun.fake_id,           7, %d,     Fake ID,      value,  fakeProcessedImfile.php, ARG4
    2626FIELD fakeRun.state,             7, %s,     state
     27FIELD fakeRun.label,             7, %s,     label
    2728FIELD rawExp.telescope,         10, %s,     Telescope
    2829FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/fakePendingImfile.d

    r19084 r19183  
    2525FIELD camRun.cam_id,             5, %s,     Cam ID,      alue,   camProcessedExp.php,     ARG3
    2626FIELD fakeRun.fake_id,           5, %s,     Fake ID,     value,  fakeProcessedImfile.php, ARG4
    27 FIELD chipRun.state,             7, %s,     State
     27FIELD fakeRun.state,             7, %s,     State
     28FIELD fakeRun.label,             7, %s,     label
    2829FIELD rawExp.telescope,         10, %s,     Telescope
    2930FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/fakeProcessedExp.d

    r19084 r19183  
    2525FIELD fakeRun.fake_id,           7, %d,     Fake ID,      value,  fakeProcessedImfile.php, ARG4
    2626FIELD fakeRun.state,             7, %s,     state
     27FIELD fakeRun.label,             7, %s,     label
    2728FIELD rawExp.telescope,         10, %s,     Telescope
    2829FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/fakeProcessedImfile.d

    r19084 r19183  
    3333FIELD fakeRun.fake_id,                 7, %d,     Fake ID,      value,  fakeProcessedImfile.php, ARG4
    3434FIELD fakeRun.state,                   7, %s,     State,       value,  fakeProcessedImfile.php, ARG5
     35FIELD fakeRun.label,                   7, %s,     Label
    3536FIELD rawExp.telescope,               10, %s,     Telescope
    3637FIELD rawExp.camera,                  10, %s,     Camera
  • trunk/ippMonitor/def/fakeProcessedImfile_failure.d

    r19084 r19183  
    3333FIELD fakeRun.fake_id,                 7, %d,     Fake ID,      value,  fakeProcessedImfile_failure.php, ARG4
    3434FIELD fakeRun.state,                   7, %s,     State,       value,  fakeProcessedImfile_failure.php, ARG5
     35FIELD fakeRun.label,                   7, %s,     Label
    3536FIELD rawExp.telescope,               10, %s,     Telescope
    3637FIELD rawExp.camera,                  10, %s,     Camera
  • trunk/ippMonitor/def/fakeStageExp.d

    r19084 r19183  
    2323FIELD fakeRun.fake_id,           7, %d,     Fake ID,      value,  fakeProcessedImfile.php, ARG4
    2424FIELD fakeRun.state,             7, %s,     state
     25FIELD fakeRun.label,             7, %s,     label
    2526FIELD rawExp.telescope,         10, %s,     Telescope
    2627FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/stackFailedSkyfile.d

    r19131 r19183  
    77WHERE stackSumSkyfile.fault != 0
    88
    9 #        field                          size  format  name           show     link to         extras
     9ARGS  ARG7 stackRun.stack_id=$stackRun.stack_id
     10ARGS  ARG7 stackRun.skycell_id=$stackRun.skycell_id
     11# XXX need to fix this: there may not be a single camera per stack...
     12ARGS  ARG7 camera=GPC1
     13ARGS  ARG7 basename=$stackSumSkyfile.path_base
     14
     15#        field                          size  format  name    show     link to         extras
    1016FIELD stackRun.stack_id,            5, %s,     Stack ID
    1117FIELD stackRun.skycell_id,          5, %s,     Skycell ID
    12 FIELD stackRun.state,               7, %s,     State
     18FIELD stackRun.state,               7, %s,     State,         value,   stackFailedSkyfile.php, ARG7
    1319FIELD stackSumSkyfile.bg,           5, %.2f,   backgnd
    1420FIELD stackSumSkyfile.bg_stdev,     5, %.2f,   stdev   
    1521FIELD stackSumSkyfile.dtime_stack,  5, %.2f,   dtime
    1622
     23FIELD stackSumSkyfile.path_base,    5, %s,     path_base,     none
     24
     25TAIL PHP insert_log ('LOG.EXP');
  • trunk/ippMonitor/def/stackInputSkyfile.d

    r19131 r19183  
    1 TABLE stackInputSkyfile, stackRun, warpRun, fakeRun, camRun, chipRun, rawExp
     1TABLE stackInputSkyfile, stackRun, warpRun, warpSkyfile, fakeRun, camRun, chipRun, rawExp
    22TITLE Stack Input Exposures
    33FILE  stackInputSkyfile.php
     
    77WHERE stackInputSkyfile.warp_id = warpRun.warp_id
    88WHERE warpRun.fake_id = fakeRun.fake_id
     9WHERE warpSkyfile.warp_id = warpRun.warp_id
     10WHERE warpSkyfile.skycell_id = stackRun.skycell_id
    911WHERE fakeRun.cam_id = camRun.cam_id
    1012WHERE camRun.chip_id = chipRun.chip_id
     
    3941FIELD rawExp.exp_time,              5, %.2f,   exp_time   
    4042FIELD rawExp.airmass,               5, %.4f,   airmass     
     43FIELD warpSkyfile.good_frac,        7, %.4f,   warp good f
    4144FIELD rawExp.bg,                    5, %.2f,   backgnd
    4245FIELD rawExp.bg_stdev,              5, %.2f,   stdev   
  • trunk/ippMonitor/def/stackProcessedSkyfile.d

    r19131 r19183  
    88WHERE stackSumSkyfile.fault = 0
    99
    10 #        field                          size  format  name           show     link to         extras
     10ARGS  ARG7 stackRun.stack_id=$stackRun.stack_id
     11ARGS  ARG7 stackRun.skycell_id=$stackRun.skycell_id
     12# XXX need to fix this: there may not be a single camera per stack...
     13ARGS  ARG7 camera=GPC1
     14ARGS  ARG7 basename=$stackSumSkyfile.path_base
     15
     16#        field                   size  format  name           show     link to         extras
    1117FIELD stackRun.stack_id,            5, %s,     Stack ID
    1218FIELD stackRun.skycell_id,          5, %s,     Skycell ID
    13 FIELD stackRun.state,               7, %s,     State
     19FIELD stackRun.state,               7, %s,     State,         value,   stackProcessedSkyfile.php, ARG7
    1420FIELD stackSumSkyfile.bg,           5, %.2f,   backgnd
    1521FIELD stackSumSkyfile.bg_stdev,     5, %.2f,   stdev   
    1622FIELD stackSumSkyfile.dtime_stack,  5, %.2f,   dtime
    1723
     24FIELD stackSumSkyfile.path_base,    5, %s,     path_base,     none
     25
     26TAIL PHP insert_log ('LOG.EXP');
  • trunk/ippMonitor/def/warpFailedSkyfiles.d

    r19097 r19183  
    3535FIELD warpSkyfile.skycell_id,    10, %s,     skycell,      value,  warpFailedSkyfiles.php,  ARG6
    3636FIELD warpRun.state,              7, %s,     state,        value,  warpFailedSkyfiles.php,  ARG7
     37FIELD warpRun.label,              7, %s,     label
    3738FIELD warpSkyfile.tess_id,       10, %s,     tess
    3839FIELD warpSkyfile.good_frac,      5, %s,     good_frac
  • trunk/ippMonitor/def/warpSkycellMap.d

    r19084 r19183  
    1919FIELD    warpSkyCellMap.warp_id,      5,    %s,     Warp ID
    2020FIELD    warpRun.state,               5,    %s,     State
     21FIELD    warpRun.label,               5,    %s,     Label
    2122FIELD    warpSkyCellMap.skycell_id,   5,    %s,     Skycell ID
    2223FIELD    warpSkyCellMap.tess_id,      5,    %s,     Tessellation ID
  • trunk/ippMonitor/def/warpStageExp.d

    r19084 r19183  
    2626FIELD warpRun.warp_id,           7, %d,     Warp ID,      value,  warpStageExp.php,        ARG5
    2727FIELD warpRun.state,             7, %s,     state
     28FIELD warpRun.label,             7, %s,     label
    2829FIELD rawExp.telescope,         10, %s,     Telescope
    2930FIELD rawExp.camera,            10, %s,     Camera
  • trunk/ippMonitor/def/warpStageSkyfileInputs.d

    r19137 r19183  
    3636FIELD warpRun.warp_id,            7, %d,     Warp ID,      value,  warpStageExp.php, ARG5
    3737FIELD warpRun.state,              7, %s,     state
     38FIELD warpRun.label,              7, %s,     label
    3839FIELD warpSkyCellMap.skycell_id, 10, %s,     skycell
    3940FIELD warpSkyCellMap.tess_id,    10, %s,     tess
  • trunk/ippMonitor/def/warpStageSkyfiles.d

    r19084 r19183  
    2929FIELD warpSkyCellMap.skycell_id, 10, %s,     skycell,      value,  warpProcessedSkyfiles.php, ARG6
    3030FIELD warpRun.state,              7, %s,     state
     31FIELD warpRun.label,              7, %s,     label
    3132FIELD warpSkyCellMap.tess_id,    10, %s,     tess
    3233FIELD warpSkyCellMap.fault,      10, %s,     fault
Note: See TracChangeset for help on using the changeset viewer.