IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 4 and Version 5 of fullforce_intro


Ignore:
Timestamp:
Dec 11, 2013, 12:05:48 PM (13 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • fullforce_intro

    v4 v5  
    2727
    2828{{{
    29 fullForceWarpRun
    30     ffw_id
    31     warp_id
    32     skycal_id           (sets sky_id and through stack_id, filter,
    33                          tess_id, skycell_id)
    34     input_path_base     path that leads to cff file
    35                         Note: this is independent of the method
    36                         used to generate the data.
    37                         The expectation is that the cffs will be generated
    38                         during skycal processing. The data has been
    39                         read and is available. zero point is done.
     29CREATE TABLE fullForceRun (
     30    ff_id           BIGINT NOT NULL AUTO_INCREMENT,
     31    warp_id         BIGINT,
     32    skycal_id       BIGINT,
     33    sources_path_base VARCHAR(255),
     34    state           VARCHAR(64),
     35    workdir         VARCHAR(255),
     36    label           VARCHAR(64),
     37    data_group      VARCHAR(64),
     38    dist_group      VARCHAR(64),
     39    reduction       VARCHAR(64),
     40    registered TIMESTAMP DEFAULT CURRENT_TIMESTAMP, -- time run was registered
     41    PRIMARY KEY(ff_id),
     42    KEY(state),
     43    KEY(label),
     44    KEY(data_group),
     45    KEY(warp_id),
     46    KEY(skycal_id),
     47    FOREIGN KEY(warp_id) REFERENCES warpRun(warp_id),
     48    FOREIGN KEY(skycal_id) REFERENCES skycalRun(skycal_id)
     49) ENGINE=innodb DEFAULT CHARSET=latin1;
    4050
    41     workdir
    42     reduction           as usual specifies the recipe
    43     label
    44     data_group
    45     dist_group
    4651}}}
    4752
     
    5762table simplifies code.
    5863
    59 Is the 'Warp' in the table name needed? Would we ever do fullforce on
    60 a diff or stack? I'm hesitant to use the stage, stage_id style structure
    61 (addRun, distribution) since that makes everything more complicated.
    62 The code sharing ends up being somewhat illusory.
     64Note that this structure ties the full force run to a warp. One could imagine
     65doing running it on a chip, diff, or stack. I'm hesitant to use the stage, stage_id style structure
     66(addRun, distribution) because that makes everything more complicated.
     67The code sharing ends up being somewhat illusory. Are five 10 line functions really
     68better than one 50 line function with lots of cases?
    6369
    6470
     
    107113(Kind of like addstar and dvo).
    108114
    109 XXX: At this stage should we be combining the 5 filter results for each
    110 skycell?
    111115
    112116----