IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14044


Ignore:
Timestamp:
Jul 6, 2007, 11:44:02 AM (19 years ago)
Author:
eugene
Message:

update for change from exp_tag to exp_id and other recent mods

Location:
trunk/ippMonitor/def
Files:
26 edited

Legend:

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

    r13264 r14044  
    66WHERE camPendingExp.chip_id = chipProcessedExp.chip_id
    77
    8 ARGS  ARG1  chipProcessedExp.exp_tag=$chipProcessedExp.exp_tag
     8ARGS  ARG1  chipProcessedExp.exp_id=$chipProcessedExp.exp_id
    99
    1010#     field                     size  name          show   link to                  extras
    11 FIELD chipProcessedExp.exp_tag, 20,   exposure ID,  value, chipProcessedImfile.php, ARG1
     11FIELD chipProcessedExp.exp_id,  20,   exposure ID,  value, chipProcessedImfile.php, ARG1
    1212FIELD camPendingExp.chip_id,    20,   chip ID,      value, chipProcessedExp.php,    ARG1
    1313FIELD camPendingExp.cam_id,     20,   cam ID
  • trunk/ippMonitor/def/camProcessedExp.d

    r13770 r14044  
    55
    66WHERE camProcessedExp.chip_id = chipProcessedExp.chip_id
    7 WHERE chipProcessedExp.exp_tag = rawExp.exp_tag
     7WHERE chipProcessedExp.exp_id = rawExp.exp_id
    88
    99# define image names to be used below
     
    1414ARGS  ARG1  camera=$rawExp.camera
    1515ARGS  ARG1  basename=$camProcessedExp.path_base
    16 ARGS  ARG1  exp_tag=$chipProcessedExp.exp_tag
     16ARGS  ARG1  exp_id=$chipProcessedExp.exp_id
    1717
    1818#     field                           size  name       show        link to                  extras
    19 FIELD chipProcessedExp.exp_tag,       15,   Exposure,  value
     19FIELD chipProcessedExp.exp_id,        5,    Exp ID,    value
    2020FIELD *,                              8,    image,     image=JPEG, chipProcessedImfile.php, ARG1
    2121FIELD camProcessedExp.bg,             8,    backgnd,   value
  • trunk/ippMonitor/def/chipPendingExp.d

    r14014 r14044  
    55
    66# limit this table to non-OBJECT types of images
    7 WHERE chipPendingExp.exp_tag = rawExp.exp_tag
     7WHERE chipPendingExp.exp_id = rawExp.exp_id
    88
    9 ARGS  ARG1  exp_tag=$exp_tag
     9ARGS  ARG1  exp_id=$exp_id
    1010
    1111#     field                   size  name         show    link to         extras
    1212FIELD chipPendingExp.chip_id,    7, chip ID
    13 FIELD chipPendingExp.exp_tag,   20, exposure ID, value,  rawImfile.php,  ARG1
     13FIELD chipPendingExp.exp_id,     5, exposure ID, value,  rawImfile.php,  ARG1
    1414FIELD rawExp.telescope,         10, Telescope
    1515FIELD rawExp.camera,            10, Camera
  • trunk/ippMonitor/def/chipPendingImfile.d

    r12081 r14044  
    44MENU  ipp.imfiles.dat
    55
    6 #     field     name           show   link to     extras
    7 FIELD exp_tag,  20,   exposure Tag
    8 FIELD class_id, 20,   class ID
    9 FIELD uri,      20,   URI
    10 FIELD recipe,   20,   recipe
    11 FIELD guide_version, 20,   guide version
    12 FIELD chip_version, 20,   chip version
     6#     field          size  name           show   link to     extras
     7FIELD exp_id,         5,   Exp ID
     8FIELD class_id,       5,   Class ID
     9FIELD uri,            5,   URI
     10FIELD recipe,         5,   recipe
     11FIELD guide_version,  5,   guide version
     12FIELD chip_version,   5,   chip version
  • trunk/ippMonitor/def/chipProcessedExp.d

    r13264 r14044  
    44MENU  ipp.science.dat
    55
    6 ARGS  ARG1  exp_tag=$exp_tag
     6ARGS  ARG1  exp_id=$exp_id
    77
    88#     field          size  name           show     link to                   extras
    9 FIELD exp_tag,       20,   exposure ID,   value,   chipProcessedImfile.php,  ARG1
     9FIELD exp_id,        20,   Exp ID,        value,   chipProcessedImfile.php,  ARG1
    1010FIELD chip_id,       20,   Chip ID
    1111FIELD guide_id,      20,   guide ID,      value,   guideProcessedExp.php,    ARG1
  • trunk/ippMonitor/def/chipProcessedImfile.d

    r13282 r14044  
    77
    88#     field                               size  name        show  link to     extras
    9 FIELD chipProcessedExp.exp_tag,           15,   Exposure
     9FIELD chipProcessedExp.exp_id,            15,   Exposure
    1010FIELD chipProcessedImfile.class_id,       8,    Chip ID
    1111FIELD chipProcessedImfile.bg,             8,    backgnd
  • trunk/ippMonitor/def/detInputExp.d

    r13725 r14044  
    55
    66# limit this table to non-OBJECT types of images
    7 WHERE detInputExp.exp_tag = rawExp.exp_tag
     7WHERE detInputExp.exp_id = rawExp.exp_id
    88
    9 ARGS  ARG1  rawImfile.exp_tag=$detInputExp.exp_tag
     9ARGS  ARG1  rawImfile.exp_id=$detInputExp.exp_id
    1010
    11 ARGS  ARG2  detResidImfile.exp_tag=$detInputExp.exp_tag
     11ARGS  ARG2  detResidImfile.exp_id=$detInputExp.exp_id
    1212ARGS  ARG2  detResidImfile.det_id=$detInputExp.det_id
    1313ARGS  ARG2  detResidImfile.iteration=$detInputExp.iteration
    1414
    15 ARGS  ARG2  detProcessedImfile.exp_tag=$detInputExp.exp_tag
     15ARGS  ARG2  detProcessedImfile.exp_id=$detInputExp.exp_id
    1616ARGS  ARG2  detProcessedImfile.det_id=$detInputExp.det_id
    1717ARGS  ARG2  detProcessedImfile.iteration=$detInputExp.iteration
     
    2222
    2323#     field                  width      name        show         link to                 extras
    24 FIELD detInputExp.det_id,    7,         det_id
    25 FIELD detInputExp.iteration, 5,         iteration
    26 FIELD detInputExp.exp_tag,   20,        exposure,   value,       rawImfile.php,          ARG1
    27 FIELD detInputExp.include,   7,         include
     24FIELD detInputExp.det_id,     7,        Det ID
     25FIELD detInputExp.iteration,  5,        iteration
     26FIELD detInputExp.exp_id,     5,        Exp ID,     value,       rawImfile.php,          ARG1
     27FIELD rawExp.exp_name,        5,        Exp Name,   value,       rawImfile.php,          ARG1
     28FIELD detInputExp.include,    7,        include
    2829FIELD rawExp.telescope,      10,        Telescope
    2930FIELD rawExp.camera,         10,        Camera
  • trunk/ippMonitor/def/detProcessedExp.d

    r13595 r14044  
    55
    66# the following WHERE clauses are added to all queries joined by AND
    7 WHERE detProcessedExp.exp_tag = rawExp.exp_tag
     7WHERE detProcessedExp.exp_id = rawExp.exp_id
    88
    99# define image names to be used below
     
    1212
    1313ARGS  ARG1 det_id=$detProcessedExp.det_id
    14 ARGS  ARG1 exp_tag=$detProcessedExp.exp_tag
     14ARGS  ARG1 exp_id=$detProcessedExp.exp_id
    1515ARGS  ARG1 camera=$rawExp.camera
    1616ARGS  ARG1 basename=$detProcessedExp.path_base
     
    2121FIELD detProcessedExp.det_id,     7,    Det ID,    value
    2222FIELD rawExp.camera,             10,    camera,    value
    23 FIELD detProcessedExp.exp_tag,   15,    Exposure,  value
     23FIELD detProcessedExp.exp_id,     5,    Exp ID,    value
     24FIELD rawExp.exp_name,            5,    Exp Name,  value
    2425FIELD *,                          8,    image,     image=JPEG2,  detProcessedImfile.php, ARG1
    2526FIELD detProcessedExp.bg,         8,    backgnd,   value
  • trunk/ippMonitor/def/detProcessedImfile.d

    r13692 r14044  
    1 TABLE detProcessedImfile
     1TABLE detProcessedImfile, rawExp
    22TITLE detProcessedImfile
    33FILE  detProcessedImfile.php
    44MENU  ipp.imfiles.dat
    55
    6 #     field        size   name      show   link to     extras
    7 FIELD det_id,        7,   Det ID
    8 FIELD exp_tag,      15,   Exposure
    9 FIELD class_id,      8,   Chip ID
    10 FIELD bg,            8,   backgnd
    11 FIELD bg_stdev,      8,   stdev
    12 FIELD bg_mean_stdev, 8,   [stdev]
    13 # FIELD recipe,     10,   recipe
    14 # FIELD uri,        20,   uri
    15 # FIELD path_base,  20,   path_base
     6# the following WHERE clauses are added to all queries joined by AND
     7WHERE detResidExp.exp_id = rawExp.exp_id
     8
     9#     field                             size   name      show   link to     extras
     10FIELD detProcessedImfile.det_id,        7,   Det ID
     11FIELD detProcessedImfile.exp_id,        5,   Exp ID
     12FIELD rawExp.exp_name,                  5,   Exp Name
     13FIELD detProcessedImfile.class_id,      8,   Chip ID
     14FIELD detProcessedImfile.bg,            8,   backgnd
     15FIELD detProcessedImfile.bg_stdev,      8,   stdev
     16FIELD detProcessedImfile.bg_mean_stdev, 8,   [stdev]
     17FIELD detProcessedImfile.path_base,     5,   path_base
    1618
    1719TAIL PHP insert_image ('PPIMAGE.JPEG1');
  • trunk/ippMonitor/def/detResidExp.d

    r13978 r14044  
    55
    66# the following WHERE clauses are added to all queries joined by AND
    7 WHERE detResidExp.exp_tag = rawExp.exp_tag
     7WHERE detResidExp.exp_id = rawExp.exp_id
    88
    99# define image names to be used below
     
    1212
    1313# define the arguments supplied to the links below (if any)
    14 ARGS  ARG1 exp_tag=$detResidExp.exp_tag
     14ARGS  ARG1 exp_id=$detResidExp.exp_id
    1515
    1616ARGS  ARG2 det_id=$detResidExp.det_id
    1717ARGS  ARG2 iteration=$detResidExp.iteration
    18 ARGS  ARG2 exp_tag=$detResidExp.exp_tag
     18ARGS  ARG2 exp_id=$detResidExp.exp_id
    1919ARGS  ARG2 camera=$rawExp.camera
    2020ARGS  ARG2 basename=$detResidExp.path_base
     
    2525FIELD detResidExp.det_id,        7,   Det ID,    value
    2626FIELD rawExp.camera,            10,   camera,    value
    27 FIELD detResidExp.exp_tag,      15,   Exposure,  value,       rawImfile.php,       ARG1
     27FIELD detResidExp.exp_id,        5,   Exp ID,    value,       rawImfile.php,       ARG1
     28FIELD rawExp.exp_name,           5,   Exp Name,  value,       rawImfile.php,       ARG1
    2829FIELD detResidExp.iteration,     5,   iter,      value
    2930FIELD *,                         8,   image,     image=JPEG2, detResidImfile.php,  ARG2
  • trunk/ippMonitor/def/detResidImfile.d

    r13692 r14044  
    1 TABLE detResidImfile
     1TABLE detResidImfile, rawExp
    22TITLE detResidImfile
    33FILE  detResidImfile.php
    44MENU  ipp.imfiles.dat
    55
    6 #     field        size   name        show  link to     extras
    7 FIELD det_id,        7,   Det ID
    8 FIELD exp_tag,      15,   Exposure
    9 FIELD class_id,      8,   Chip ID
    10 FIELD bg,            8,   backgnd
    11 FIELD bg_stdev,      8,   bg stdev
    12 FIELD bg_mean_stdev, 8,   [stdev]
    13 FIELD iteration,     5,   iter
    14 # FIELD uri,        20,   uri
    15 # FIELD recipe,     20,   recipe
    16 FIELD path_base,  20,   path_base
     6# the following WHERE clauses are added to all queries joined by AND
     7WHERE detResidExp.exp_id = rawExp.exp_id
     8
     9#     field                         size   name        show  link to     extras
     10FIELD detResidImfile.det_id,        7,   Det ID
     11FIELD detResidImfile.exp_id,        5,   Exp ID
     12FIELD rawExp.exp_name,              5,   Exp Name
     13FIELD detResidImfile.class_id,      8,   Chip ID
     14FIELD detResidImfile.bg,            8,   backgnd
     15FIELD detResidImfile.bg_stdev,      8,   bg stdev
     16FIELD detResidImfile.bg_mean_stdev, 8,   [stdev]
     17FIELD detResidImfile.iteration,     5,   iter
     18FIELD detResidImfile.path_base,     5,   path_base
    1719
    1820TAIL PHP insert_image ('PPIMAGE.JPEG1');
  • trunk/ippMonitor/def/guidePendingExp.d

    r13264 r14044  
    44MENU  ipp.science.dat
    55
    6 ARGS  ARG1  exp_tag=$exp_tag
     6ARGS  ARG1  exp_id=$exp_id
    77
    8 #     field       name         show     link to         extras
    9 FIELD exp_tag,     20,   exposure ID, value,   rawImfile.php,  ARG1
    10 FIELD recipe,     20,   recipe
    11 FIELD guide_version, 20,   guide version
     8#     field          size name       show     link to         extras
     9FIELD exp_id,        5,   Exp ID,    value,   rawImfile.php,  ARG1
     10FIELD exp_name,      5,   Exp Name,  value,   rawImfile.php,  ARG1
     11FIELD recipe,        5,   recipe
     12FIELD guide_version, 5,   guide version
  • trunk/ippMonitor/def/newExp.d

    r11490 r14044  
    44MENU  ipp.copy.dat
    55
     6WHERE state != 'stop'
     7
    68#        field          name           show     link to         extras
    7 FIELD    exp_id,        20,   exposure ID
    8 FIELD    exp_tag,       20,   exposure Tag
    9 FIELD    camera,        20,   camera
    10 FIELD    telescope,     20,   telescope
    11 FIELD    imfiles,       20,   N imfiles
     9FIELD    exp_id,        5,   exposure ID
     10FIELD    tmp_exp_name,  10,  exposure Name
     11FIELD    tmp_camera,    5,   camera
     12FIELD    tmp_telescope, 5,   telescope
     13FIELD    state,         5,   state
  • trunk/ippMonitor/def/newImfile.d

    r9323 r14044  
    55
    66#        field          name           show   link to         extras
    7 FIELD    exp_tag,       20,   exposure Tag
    8 FIELD    class,         20,   class
    9 FIELD    class_id,      20,   class ID
    10 FIELD    uri,           20,   URI
     7FIELD    exp_id,        5,   exposure ID
     8FIELD    tmp_class_id,  5,   class ID
     9FIELD    uri,           5,   URI
  • trunk/ippMonitor/def/pzPendingExp.d

    r12082 r14044  
    44MENU  ipp.copy.dat
    55
    6 #        field          name           show     link to         extras
    7 FIELD    exp_id,        20,   exposures ID
    8 FIELD    camera,        20,   camera
    9 FIELD    telescope,     20,   telescope
     6#        field          size name           show     link to         extras
     7FIELD    exp_name,      5,   exposures ID
     8FIELD    camera,        5,   camera
     9FIELD    telescope,     5,   telescope
  • trunk/ippMonitor/def/pzPendingImfile.d

    r12082 r14044  
    55
    66#        field        name             show   link to         extras
    7 FIELD    exp_id,      20,   exposure ID
    8 FIELD    camera,      20,   camera
    9 FIELD    telescope,   20,   telescope
    10 FIELD    class,       20,   class
    11 FIELD    class_id,    20,   class ID
     7FIELD    exp_id,      5,   Exp ID
     8FIELD    exp_name,    5,   Exp Name
     9FIELD    camera,      5,   camera
     10FIELD    telescope,   5,   telescope
     11FIELD    class,       5,   class
     12FIELD    class_id,    5,   class ID
  • trunk/ippMonitor/def/rawDetrendExp.d

    r13605 r14044  
    77WHERE rawExp.exp_type != 'OBJECT'
    88
    9 ARGS ARG1 exp_tag=$exp_tag
     9ARGS ARG1 exp_id=$exp_id
    1010
    11 #        field        name  show           link to  extras
    12 FIELD    exp_tag,     10,   exposure ID,   value,   rawImfile.php,  ARG1
     11#        field        size  name       show     link to         extras
     12FIELD    exp_id,      5,    Exp ID
     13FIELD    exp_name,    10,   Exp Name,  value,   rawImfile.php,  ARG1
    1314FIELD    telescope,   10,   Telescope
    1415FIELD    camera,      10,   Camera
  • trunk/ippMonitor/def/rawDetrendExp_detrend.d

    r13725 r14044  
    77WHERE rawExp.exp_type != 'OBJECT'
    88
    9 ARGS ARG1 exp_tag=$exp_tag
     9ARGS ARG1 exp_id=$exp_id
    1010
    1111#        field        size  name           show     link to         extras
    12 FIELD    exp_tag,     10,   exposure ID,   value,   rawImfile.php,  ARG1
     12FIELD    exp_id,       5,   Exp ID
     13FIELD    exp_name,    10,   Exp Name,     value,   rawImfile.php,  ARG1
    1314FIELD    telescope,   10,   Telescope
    1415FIELD    camera,      10,   Camera
  • trunk/ippMonitor/def/rawExp_failed.d

    r11491 r14044  
    11TABLE rawExp
    2 TITLE Raw Detrend Exposures
     2TITLE Failed Raw Exposures
    33FILE  rawExp_failed.php
    44MENU  ipp.copy.dat
     
    77WHERE fault > 0
    88
    9 #        field        name  show           link to  extras
    10 FIELD    exp_tag,     10,   exposure ID,   value,   rawImfile.php,  exp_tag=$exp_tag
     9ARGS ARG1 exp_id=$exp_id
     10
     11#        field        size  name       show     link to         extras
     12FIELD    exp_id,      5,    Exp ID
     13FIELD    exp_name,    10,   Exp Name,  value,   rawImfile.php,  ARG1
    1114FIELD    telescope,   10,   Telescope
    1215FIELD    camera,      10,   Camera
  • trunk/ippMonitor/def/rawImfile.d

    r11490 r14044  
    44MENU  ipp.imfiles.dat
    55
    6 HEAD PHP insert_backref ("rawUnknownExp.php", "exp_tag", $ID['link']);
     6HEAD PHP insert_backref ("rawExp.php", "exp_id", $ID['link']);
    77
    88#        field        name   show         link to         extras
    9 FIELD    exp_tag,      15,    Exposure
     9FIELD    exp_id,        5,    Exp ID
     10FIELD    exp_name,      5,    Exposure
    1011FIELD    class_id,      8,    Chip ID
    1112FIELD    bg,            8,    backgnd
  • trunk/ippMonitor/def/rawImfile_failed.d

    r11491 r14044  
    11TABLE rawImfile
    2 TITLE Raw Image File
     2TITLE Failed Raw Image Files
    33FILE  rawImfile.php
    44MENU  ipp.copy.dat
    55
    6 HEAD PHP insert_backref ("rawUnknownExp.php", "exp_tag", $ID['link']);
     6HEAD PHP insert_backref ("rawExp.php", "exp_id", $ID['link']);
    77WHERE fault > 0
    88
    99#        field        name   show         link to         extras
    10 FIELD    exp_tag,      15,    Exposure
     10FIELD    exp_id,        5,    Exp ID
     11FIELD    exp_name,      5,    Exposure
    1112FIELD    class_id,      8,    Chip ID
    1213FIELD    bg,            8,    backgnd
  • trunk/ippMonitor/def/rawScienceExp.d

    r13264 r14044  
    77WHERE rawExp.exp_type = 'OBJECT'
    88
    9 ARGS ARG1 exp_tag=$exp_tag
    10 ARGS ARG1 camera=$camera
    11 ARGS ARG1 foo=bar
     9ARGS ARG1 exp_id=$exp_id
    1210
    1311#        field        size name           show          link to   extras
    14 FIELD    exp_tag,     10,  exposure Tag, value,    rawImfile.php,  ARG1
    15 FIELD    telescope,   10,  Telescope,    value,    telescopes.php
     12FIELD    exp_id,       5,  Exp ID
     13FIELD    exp_name,    10,  Exp Name,     value,   rawImfile.php,  ARG1
     14FIELD    telescope,   10,  Telescope
    1615FIELD    camera,      10,  Camera
    1716FIELD    exp_type,     8,  Type   
  • trunk/ippMonitor/def/rawUnknownExp.d

    r13264 r14044  
    11TABLE rawExp
    2 TITLE Raw Detrend Exposures
    3 FILE  rawDetrendExp.php
     2TITLE Raw Unknown Exposures
     3FILE  rawUnknownExp.php
    44MENU  ipp.copy.dat
    55
     
    77WHERE rawExp.exp_type is NULL
    88
    9 ARGS ARG1 exp_tag=$exp_tag
     9ARGS ARG1 exp_id=$exp_id
    1010
    1111#        field        size  name           show     link to        extras
    12 FIELD    exp_tag,     10,   exposure ID,   value,   rawImfile.php, ARG1
     12FIELD    exp_id,       5,   Exp ID
     13FIELD    exp_name,    10,   Exp Name,     value,   rawImfile.php,  ARG1
    1314FIELD    telescope,   10,   Telescope
    1415FIELD    camera,      10,   Camera
  • trunk/ippMonitor/def/summitExp.d

    r9009 r14044  
    44MENU  ipp.copy.dat
    55
    6 #        field        name           show    link to         extras
    7 FIELD    exp_id,      20,   exposure ID
    8 FIELD    camera,      20,   camera
    9 FIELD    telescope,   20,   telescope
    10 FIELD    exp_type,    20,   type
    11 FIELD    uri,         20,   URI
     6#        field        size, name           show    link to         extras
     7FIELD    exp_name,    5,    exposure ID
     8FIELD    camera,      5,    camera
     9FIELD    telescope,   5,    telescope
     10FIELD    dateobs,     5,    date/time
     11FIELD    exp_type,    5,    type
     12FIELD    uri,         5,    URI
  • trunk/ippMonitor/def/warpInputExp.d

    r12835 r14044  
    77WHERE camProcessedExp.chip_id = chipProcessedExp.chip_id
    88
    9 #        field                     size name           show     link to         extras
    10 FIELD    warpInputExp.warp_id,     20,  warp ID
    11 FIELD    chipProcessedExp.exp_tag, 20,  exp tag
    12 FIELD    chipProcessedExp.chip_id, 20,  chip ID
    13 FIELD    camProcessedExp.cam_id,   20,  cam ID
     9#        field                      size name           show     link to         extras
     10FIELD    warpInputExp.warp_id,      5,  warp ID
     11FIELD    chipProcessedExp.exp_id,   5,  Exp ID
     12FIELD    chipProcessedExp.exp_name, 5,  Exp Name
     13FIELD    chipProcessedExp.chip_id,  5,  chip ID
     14FIELD    camProcessedExp.cam_id,    5,  cam ID
    1415FIELD    magiced,                   5,  magic?
  • trunk/ippMonitor/def/warpSkycellMap.d

    r12835 r14044  
    88
    99#        field                      size  name           show     link to         extras
    10 FIELD    warpSkyCellMap.warp_id,    20,   warp ID
    11 FIELD    warpSkyCellMap.skycell_id, 20,   skycell ID
    12 FIELD    warpSkyCellMap.tess_id,    20,   tessellation ID
    13 FIELD    chipProcessedExp.exp_tag,  20,   exposure tag
    14 FIELD    warpSkyCellMap.class_id,   20,   class ID
     10FIELD    warpSkyCellMap.warp_id,    5,   Warp ID
     11FIELD    warpSkyCellMap.skycell_id, 5,   Skycell ID
     12FIELD    warpSkyCellMap.tess_id,    5,   Tessellation ID
     13FIELD    chipProcessedExp.exp_id,   5,   Exp ID
     14FIELD    chipProcessedExp.exp_name, 5,   Exp Name
     15FIELD    warpSkyCellMap.class_id,   5,   Class ID
Note: See TracChangeset for help on using the changeset viewer.