IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35196 for trunk/ippTools/share


Ignore:
Timestamp:
Feb 21, 2013, 1:44:26 PM (13 years ago)
Author:
bills
Message:

tweaks to release tables. Further progress on releasetool

Location:
trunk/ippTools/share
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/Makefile.am

    r35192 r35196  
    466466        releasetool_listrelease.sql \
    467467        releasetool_listrelexp.sql \
    468         releasetool_definerelexp.sql
     468        releasetool_definerelexp.sql \
     469        releasetool_definerelstack.sql \
     470        releasetool_definerelstack_with_skycal.sql
    469471
  • trunk/ippTools/share/pxadmin_create_tables.sql

    r35153 r35196  
    21242124      zpt_obs FLOAT,
    21252125      zpt_stdev FLOAT,
     2126      fwhm_major  FLOAT,
     2127      fwhm_minor  FLOAT,
    21262128      quality SMALLINT NOT NULL,
    21272129      hostname VARCHAR(64) NOT NULL,
     
    21852187    path_base   VARCHAR(255),   -- path_base of any supporting files for this
    21862188                                -- release of this exposure.
     2189    fault SMALLINT NOT NULL,
    21872190    registered  DATETIME,       -- insertion time for this row
    21882191    time_stamp  DATETIME,       -- time of last update for this row
     
    21902193    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
    21912194    KEY (state),
     2195    KEY (fault),
    21922196    FOREIGN KEY(exp_id) REFERENCES rawExp(exp_id),
    21932197    FOREIGN KEY(chip_id) REFERENCES chipRun(chip_id),
     
    22012205    skycal_id   BIGINT,         -- id of the sky calibration run that supplied the calibration
    22022206                                -- for this release of this skycell.
    2203     skycell_id  varchar(64),
    2204     tess_id     varchar(64),
     2207    skycell_id  VARCHAR(64),
     2208    tess_id     VARCHAR(64),
     2209    filter      VARCHAR(16),
    22052210    state       VARCHAR(16),    -- released, pending, archive, drop 
    22062211    flags       INT UNSIGNED,
     
    22082213    zpt_obs     FLOAT,          -- calibrated zero point for this release of this skycell
    22092214    zpt_stdev   FLOAT,
    2210     fwhm_major  FLOAT,          -- seeing as measured by staticsky
     2215    mjd_obs     INT UNSIGNED,   -- for nightly stacks the mjd_obs
    22112216    path_base   VARCHAR(255),   -- path_base of any supporting files,
     2217    fault SMALLINT NOT NULL,
    22122218    registered  DATETIME,
    22132219    time_stamp  DATETIME,
    22142220    PRIMARY KEY (relstack_id),
    22152221    KEY (tess_id, skycell_id),
    2216     KEY (rel_id, tess_id, skycell_id),
     2222    KEY (rel_id, tess_id, skycell_id, filter, mjd_obs),
     2223    KEY (stack_type),
     2224    KEY (mjd_obs),
     2225    KEY (state),
     2226    KEY (fault),
    22172227    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
    22182228    FOREIGN KEY(stack_id) REFERENCES stackRun(stack_id)
Note: See TracChangeset for help on using the changeset viewer.