IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28668


Ignore:
Timestamp:
Jul 13, 2010, 3:44:33 PM (16 years ago)
Author:
Serge CHASTEL
Message:

Improved query

File:
1 edited

Legend:

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

    r28654 r28668  
    1 TABLE stackRun, stackSumSkyfile, stackAssociationMap, stackSummary
    2 TITLE Stack Summary Summary w/ Images
     1TABLE stackAssociation, stackSummary
     2TITLE Stack Summary w/ Images
    33FILE  stackSummary_Images.php
    44MENU  ipp.stack.dat
    55
    6 WHERE stackRun.stack_id = stackSumSkyfile.stack_id
    7 WHERE stackRun.state = 'full'
    8 WHERE stackSumSkyfile.fault = 0
    9 
    106# TODO
    11 WHERE stackSummary.sass_id = stackAssociationMap.sass_id
    12 WHERE stackAssociationMap.stack_id = stackRun.stack_id
     7WHERE stackSummary.sass_id = stackAssociation.sass_id
    138
    149# define image names to be used below
     
    2217
    2318#        field                   size  format  name           show     link to         extras
    24 FIELD stackRun.stack_id,            5, %s,     Stack ID
    25 FIELD stackRun.skycell_id,          5, %s,     Skycell ID
    26 FIELD stackRun.label,               5, %s,     Label
    27 FIELD stackRun.data_group,          5, %s,     data grp
    28 FIELD stackRun.dist_group,          5, %s,     dist grp
    29 FIELD *,                            8, %s,     image,   image=JPEG2, getimage.php, ARG7
    30 FIELD stackRun.filter,              5, %s,     Filter
    31 FIELD stackRun.tess_id,             5, %s,     Tess ID
    32 FIELD stackRun.state,               7, %s,     State
    33 FIELD stackSumSkyfile.bg,           5, %.2f,   backgnd
    34 FIELD stackSumSkyfile.bg_stdev,     5, %.2f,   stdev   
    35 FIELD stackSumSkyfile.dtime_stack,  5, %.2f,   t(stack)
    36 FIELD stackSumSkyfile.dtime_match_mean, 5, %.2f, t(match)
    37 FIELD stackSumSkyfile.dtime_initial, 5, %.2f,   t(initial)
    38 FIELD stackSumSkyfile.dtime_reject,  5, %.2f,   t(reject)
    39 FIELD stackSumSkyfile.dtime_final,   5, %.2f,   t(final)
    40 FIELD stackSumSkyfile.dtime_phot,    5, %.2f,   t(phot)
    41 FIELD stackSumSkyfile.dtime_script,  5, %.2f,   t(script)
     19FIELD stackSummary.sass_id,         5, %s,     SASS ID
     20FIELD stackAssociation.data_group,  5, %s,     data grp
     21FIELD stackAssociation.tess_id,     5, %s,     Tess ID
     22FIELD stackAssociation.filter,      5, %s,     Filter
     23FIELD *,                            8, %s,     image,          image=JPEG2, getimage.php, ARG7
     24FIELD stackSummary.path_base,       5, %s,     path_base,      none
     25FIELD stackSummary.projection_cell, 5, %s,     projection_cell, none
     26FIELD stackAssociation.sass_id,     5, %s,     sAMsai,         none
    4227
    43 FIELD stackSumSkyfile.match_mean,    5, %.2f,   match
    44 FIELD stackSumSkyfile.match_stdev,   5, %.2f,   match err
    45 
    46 FIELD stackSumSkyfile.reject_images, 5, %d,   n(reject)
    47 FIELD stackSumSkyfile.sources,       5, %d,   n(sources)
    48 
    49 FIELD stackSummary.path_base,    5, %s,     path_base,     none
    50 FIELD stackSummary.projection_cell,    5, %s,     projection_cell,     none
    51 
    52 FIELD stackAssociationMap.sass_id,    5, %s,  sAMsai   ,     none
    53 FIELD stackAssociationMap.stack_id,    5, %s,  sAMsti   ,     none
    54 
    55 TAIL PHP insert_image ('PPSTACK.OUTPUT.JPEG1', 'width=90%');
     28# TAIL PHP insert_image ('PPSTACK.OUTPUT.JPEG1', 'width=90%');
    5629TAIL PHP insert_log ('LOG.EXP');
Note: See TracChangeset for help on using the changeset viewer.