IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 13, 2008, 10:17:34 AM (17 years ago)
Author:
bills
Message:

Rework the diff stage to process the skycells from an exposure in a single
diffRun

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/diff.md

    r20061 r20973  
    1 # $Id: diff.md,v 1.14 2008-10-11 02:33:40 price Exp $
     1# $Id: diff.md,v 1.15 2008-12-13 20:17:34 bills Exp $
    22
    33diffRun METADATA
    44    diff_id     S64         0       # Primary Key AUTO_INCREMENT
    55    state       STR         64      # Key
     6    workdir     STR         255
    67    label       STR         64      # Key
    78    reduction   STR         64      # Reduction class
    8     workdir     STR         255
    99    dvodb       STR         255
    1010    registered  TAI         NULL
    11     skycell_id  STR         64      # Key
    1211    tess_id     STR         64      # Key
     12    exp_id      S64         0       # fkey(exp_id) ref rawExp(exp_id)
    1313END
    1414
     
    1717#
    1818
    19 # only ever 2 per run - one template / one not
    2019diffInputSkyfile METADATA
    2120    diff_id     S64         0       # Primary Key fkey(diff_id) ref diffRun(diff_id)
    22     template    BOOL        f       # Primary Key
    23     stack_id    S64         0       # fkey(stack_id) ref stackSumSkyfile(stack_id)
    24     warp_id     S64         0       # fkey(warp_id, skycell_id, tess_id) ref warpSkyfile(warp_id, skycell_id, tess_id)
    25     skycell_id  STR         64      # Key
     21    skycell_id  STR         64      # Primary Key
     22    warp1       S64         0       # fkey(warp1, skycell_id, tess_id) ref warpSkyfile(warp_id, skycell_id, tess_id)
     23    stack1      S64         0       # fkey(stack1) ref stackSumSkyfile(stack_id)
     24    warp2       S64         0       # fkey(warp2, skycell_id, tess_id) ref warpSkyfile(warp_id, skycell_id, tess_id)
     25    stack2      S64         0       # fkey(stack2) ref stackSumSkyfile(stack_id)
    2626    tess_id     STR         64      # Key
    27 # either a input or a template
    28     kind        STR         64      # Key
    2927END
    3028
    3129diffSkyfile METADATA
    3230    diff_id      S64        0       # Primary Key fkey(diff_id) ref diffRun(diff_id)
     31    skycell_id   STR        64      #
    3332    uri          STR        255
    3433    path_base    STR        255
     
    5352    good_frac    F32        0.0     # Key
    5453    fault        S16        0       # Key
     54    diff_image_id S64       0       # Key NOT NULL AUTO_INCREMENT
     55    magicked     BOOL       f
    5556END
Note: See TracChangeset for help on using the changeset viewer.