IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11664


Ignore:
Timestamp:
Feb 5, 2007, 6:28:08 PM (19 years ago)
Author:
jhoblitt
Message:

update p4 model again

Location:
trunk/dbconfig
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/ipp.m4

    r11658 r11664  
    1010include(tasks.md)
    1111include(p4.md)
    12 dnl include(skycell.md)
     12include(skycell.md)
  • trunk/dbconfig/p4.md

    r11659 r11664  
    1 # $Id: p4.md,v 1.7 2007-02-06 02:37:40 jhoblitt Exp $
     1# $Id: p4.md,v 1.8 2007-02-06 04:28:08 jhoblitt Exp $
    22
    33#
     
    99
    1010# define a new p4run for a single skycell
    11 p4Run METADATA
    12     p4_id       S32         0       # Primary Key AUTO_INCREMENT
    13     survey_mode  STR       64      # Key
     11p4aRun METADATA
     12    p4a_id      S32         0       # Primary Key AUTO_INCREMENT
    1413    state       STR         64      # Key
    1514#    mode        STR         64      # Key
    1615    workdir     STR         255
    17     filter      STR         64
    18 END
    19 
    20 p4InputSkyCell METADATA
    21     p4_id       S32         0       # Primary Key
    22     skycell_id  STR         64      # Primary Key
    23     tess_id     STR         64      # Primary Key
     16    magic       BOOL        f       # Primary Key
    2417END
    2518
    2619# the list of imfiles in our skycell keyed against phase 3
    27 p4InputImfile  METADATA
    28     p4_id       S32         0       # Primary Key
     20p4aInputExp METADATA
     21    p4a_id      S32         0       # Primary Key
     22    exp_tag     STR         64      # Primary Key
     23    p3_version  S32         0       # Primary Key
     24# if magic is T then look for the exp_tag in the magic output tables
     25END
     26
     27p4aScfile METADATA
     28    p4a_id      S32         0       # Primary Key
    2929    skycell_id  STR         64      # Primary Key
    3030    tess_id     STR         64      # Primary Key
    3131    exp_tag     STR         64      # Primary Key
    3232    p3_version  S32         0       # Primary Key
    33 # class is not yet consistently carried through pXtools
    34 #    class       STR         64      # Primary Key
    35     class_id    STR         64      # Primary Key
    36 # either a input or a template
    37     kind        STR         64      # Key
    38 END
    39 
    40 p4WarpedImfile METADATA
    41     p4_id       S32         0       # Primary Key
    42     skycell_id  STR         64      # Primary Key
    43     tess_id     STR         64      # Primary Key
    44     exp_tag     STR         64      # Primary Key
    45     p3_version  S32         0       # Primary Key
    46 # class is not yet consistently carried through pXtools
    47 #    class       STR         64      # Primary Key
    48     class_id    STR         64      # Primary Key
    4933    uri         STR         255
    5034    bg          F64         0.0
     
    5236END
    5337
    54 # one diff image per input to the current stack
    55 # XXX how will diff against the static sky be handled?
    56 p4DiffImfile METADATA
    57     p4_id       S32         0       # Primary Key
     38p4bRun METADATA
     39    p4b_id      S32         0       # Primary Key AUTO_INCREMENT
     40    state       STR         64      # Key
     41#    mode        STR         64      # Key
     42    workdir     STR         255
     43    magic       BOOL        f       # Primary Key
     44END
     45
     46# only ever 2 per run
     47p4bInputScfile METADATA
     48    p4b_id      S32         0       # Primary Key
    5849    skycell_id  STR         64      # Primary Key
    5950    tess_id     STR         64      # Primary Key
    6051    exp_tag     STR         64      # Primary Key
    6152    p3_version  S32         0       # Primary Key
    62 # class is not yet consistently carried through pXtools
    63 #    class       STR         64      # Primary Key
    64     class_id    STR         64      # Primary Key
     53# either a input or a template
     54    kind        STR         64      # Key
     55END
     56
     57p4bDiffScfile METADATA
     58    p4b_id      S32         0       # Primary Key
     59    skycell_id  STR         64      # Primary Key
     60    tess_id     STR         64      # Primary Key
     61    exp_tag     STR         64      # Primary Key
     62    p3_version  S32         0       # Primary Key
    6563    uri         STR         255
    6664    bg          F64         0.0
     
    6866END
    6967
    70 p4StackedImfile METADATA
    71     p4_id       S32         0       # Primary Key
    72     skycell_id  STR         64      # Primary Key
    73     tess_id     STR         64      # Primary Key
     68# define a new p4run for a single skycell
     69p4cRun METADATA
     70    p4c_id      S32         0       # Primary Key AUTO_INCREMENT
     71    state       STR         64      # Key
     72#    mode        STR         64      # Key
     73    workdir     STR         255
     74    magic       BOOL        f       # Primary Key
     75END
     76
     77# the list of imfiles in our skycell keyed against phase 3
     78p4cInputExp METADATA
     79    p4c_id      S32         0       # Primary Key
    7480    exp_tag     STR         64      # Primary Key
    7581    p3_version  S32         0       # Primary Key
    76 # class is not yet consistently carried through pXtools
    77 #    class       STR         64      # Primary Key
    78     class_id    STR         64      # Primary Key
    79     uri         STR         255
    80     bg          F64         0.0
    81     bg_mean_stdev   F64     0.0
    8282END
    8383
    8484# output from magic
    8585p4MagicMaskImfile METADATA
    86     p4_id       S32         0       # Primary Key
     86    p4c_id       S32         0       # Primary Key
    8787    exp_tag     STR         64      # Primary Key
    8888    p3_version  S32         0       # Primary Key
     
    9292    uri         STR         255
    9393END
     94
     95# output from magic
     96# p4MagicMaskImfile METADATA
     97#     p4_id       S32         0       # Primary Key
     98#     exp_tag     STR         64      # Primary Key
     99#     p3_version  S32         0       # Primary Key
     100# # class is not yet consistently carried through pXtools
     101# #    class       STR         64      # Primary Key
     102#     class_id    STR         64      # Primary Key
     103#     uri         STR         255
     104# END
     105#
     106# # the list of imfiles in our skycell keyed against phase 3
     107# p4InputImfile  METADATA
     108#     p4_id       S32         0       # Primary Key
     109#     skycell_id  STR         64      # Primary Key
     110#     tess_id     STR         64      # Primary Key
     111#     exp_tag     STR         64      # Primary Key
     112#     p3_version  S32         0       # Primary Key
     113# # class is not yet consistently carried through pXtools
     114# #    class       STR         64      # Primary Key
     115#     class_id    STR         64      # Primary Key
     116# # either a input or a template
     117#     kind        STR         64      # Key
     118# END
     119#
     120#
     121# # one diff image per input to the current stack
     122# # XXX how will diff against the static sky be handled?
     123# p4DiffImfile METADATA
     124#     p4_id       S32         0       # Primary Key
     125#     skycell_id  STR         64      # Primary Key
     126#     tess_id     STR         64      # Primary Key
     127#     exp_tag     STR         64      # Primary Key
     128#     p3_version  S32         0       # Primary Key
     129# # class is not yet consistently carried through pXtools
     130# #    class       STR         64      # Primary Key
     131#     class_id    STR         64      # Primary Key
     132#     uri         STR         255
     133#     bg          F64         0.0
     134#     bg_mean_stdev   F64     0.0
     135# END
     136#
     137# p4StackedImfile METADATA
     138#     p4_id       S32         0       # Primary Key
     139#     skycell_id  STR         64      # Primary Key
     140#     tess_id     STR         64      # Primary Key
     141#     exp_tag     STR         64      # Primary Key
     142#     p3_version  S32         0       # Primary Key
     143# # class is not yet consistently carried through pXtools
     144# #    class       STR         64      # Primary Key
     145#     class_id    STR         64      # Primary Key
     146#     uri         STR         255
     147#     bg          F64         0.0
     148#     bg_mean_stdev   F64     0.0
     149# END
     150#
     151# # output from magic
     152# p4MagicMaskImfile METADATA
     153#     p4_id       S32         0       # Primary Key
     154#     exp_tag     STR         64      # Primary Key
     155#     p3_version  S32         0       # Primary Key
     156# # class is not yet consistently carried through pXtools
     157# #    class       STR         64      # Primary Key
     158#     class_id    STR         64      # Primary Key
     159#     uri         STR         255
     160# END
Note: See TracChangeset for help on using the changeset viewer.