IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14483


Ignore:
Timestamp:
Aug 13, 2007, 6:04:30 PM (19 years ago)
Author:
jhoblitt
Message:

new magic schema

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/magic.md

    r14023 r14483  
    1 # $Id: magic.md,v 1.2 2007-07-06 01:16:08 jhoblitt Exp $
     1# $Id: magic.md,v 1.3 2007-08-14 04:04:30 jhoblitt Exp $
    22
    3 #
    4 # Feed imfiles to Magic Mode
    5 #
     3magicRun METADATA
     4    magic_id    S64         0       # Primary Key AUTO_INCREMENT
     5    state       STR         64      # Key
     6    workdir     STR         255
     7    workdir_state STR       255     # Key
     8    label       STR         64      # key
     9    dvodb       STR         255
     10    registered  TAI         NULL
     11END
    612
    7 # also uses p4InputExp
     13magicInputSkyfile METADATA
     14    magic_id    S64         0       # Primary Key fkey(magic_id) ref magicRun(magic_id)
     15    diff_id     S64         0       # Primary Key fkey(diff_id) ref diffRun(diff_id)
     16    node        S32         0       # AUTO_INCREMENT
     17END
    818
    9 # output from magic
    10 p4MagicMaskImfile METADATA
    11     p4_id       S32         0       # Primary Key
    12     exp_id     S64         64      # Primary Key
    13     p3_version  S32         0       # Primary Key
    14 # class is not yet consistently carried through pXtools
    15 #    class       STR         64      # Primary Key
    16     class_id    STR         64      # Primary Key
     19magicTree METADATA
     20    magic_id    S64         0       # Primary Key fkey(magic_id) ref magicRun(magic_id)
     21    node        STR         64
     22    dep         STR         64
     23END
     24
     25magicNodeResult METADATA
     26    magic_id    S64         0       # Primary Key fkey(magic_id) ref magicRun(magic_id)
     27    node        STR         64
    1728    uri         STR         255
    1829END
    1930
    20 # output from magic
    21 # p4MagicMaskImfile METADATA
    22 #     p4_id       S32         0       # Primary Key
    23 #     exp_id     S64         64      # Primary Key
    24 #     p3_version  S32         0       # Primary Key
    25 # # class is not yet consistently carried through pXtools
    26 # #    class       STR         64      # Primary Key
    27 #     class_id    STR         64      # Primary Key
    28 #     uri         STR         255
    29 # END
    30 #
    31 # # the list of imfiles in our skycell keyed against phase 3
    32 # p4InputImfile  METADATA
    33 #     p4_id       S32         0       # Primary Key
    34 #     skycell_id  STR         64      # Primary Key
    35 #     tess_id     STR         64      # Primary Key
    36 #     exp_id     S64         64      # Primary Key
    37 #     p3_version  S32         0       # Primary Key
    38 # # class is not yet consistently carried through pXtools
    39 # #    class       STR         64      # Primary Key
    40 #     class_id    STR         64      # Primary Key
    41 # # either a input or a template
    42 #     kind        STR         64      # Key
    43 # END
    44 #
    45 #
    46 # # one diff image per input to the current stack
    47 # # XXX how will diff against the static sky be handled?
    48 # p4DiffImfile METADATA
    49 #     p4_id       S32         0       # Primary Key
    50 #     skycell_id  STR         64      # Primary Key
    51 #     tess_id     STR         64      # Primary Key
    52 #     exp_id     S64         64      # Primary Key
    53 #     p3_version  S32         0       # Primary Key
    54 # # class is not yet consistently carried through pXtools
    55 # #    class       STR         64      # Primary Key
    56 #     class_id    STR         64      # Primary Key
    57 #     uri         STR         255
    58 #     bg          F64         0.0
    59 #     bg_mean_stdev   F64     0.0
    60 # END
    61 #
    62 # p4StackedImfile METADATA
    63 #     p4_id       S32         0       # Primary Key
    64 #     skycell_id  STR         64      # Primary Key
    65 #     tess_id     STR         64      # Primary Key
    66 #     exp_id     S64         64      # Primary Key
    67 #     p3_version  S32         0       # Primary Key
    68 # # class is not yet consistently carried through pXtools
    69 # #    class       STR         64      # Primary Key
    70 #     class_id    STR         64      # Primary Key
    71 #     uri         STR         255
    72 #     bg          F64         0.0
    73 #     bg_mean_stdev   F64     0.0
    74 # END
    75 #
    76 # # output from magic
    77 # p4MagicMaskImfile METADATA
    78 #     p4_id       S32         0       # Primary Key
    79 #     exp_id     S64         64      # Primary Key
    80 #     p3_version  S32         0       # Primary Key
    81 # # class is not yet consistently carried through pXtools
    82 # #    class       STR         64      # Primary Key
    83 #     class_id    STR         64      # Primary Key
    84 #     uri         STR         255
    85 # END
     31magicMask METADATA
     32    magic_id    S64         0       # Primary Key AUTO_INCREMENT
     33    uri         STR         255
     34END
Note: See TracChangeset for help on using the changeset viewer.