| 172 | | Now we turn our attention to tables that record the actual contents of a release. |
| 173 | | |
| 174 | | |
| 175 | | |
| 176 | | |
| 177 | | |
| 178 | | |
| 179 | | |
| 180 | | |
| 181 | | |
| | 172 | Now we turn our attention to tables that record the actual contents of a release. Single frame results |
| | 173 | are represented by the table relExp (released exposure) and relSkycell (released skycell). (Similar table |
| | 174 | will be defined for difference data products in the future). |
| | 175 | |
| | 176 | == Released Exposure == |
| | 177 | The relExp table encapsulates the data products that were used to construct the released data |
| | 178 | for a given exposure and the results of the calibration of the exposure. The proposed table definition |
| | 179 | is as follows |
| | 180 | |
| | 181 | {{{ |
| | 182 | mysql> describe relExp; |
| | 183 | +------------+------------------+------+-----+---------+----------------+ |
| | 184 | | Field | Type | Null | Key | Default | Extra | |
| | 185 | +------------+------------------+------+-----+---------+----------------+ |
| | 186 | | relexp_id | bigint(20) | NO | PRI | NULL | auto_increment | Primary key for the table |
| | 187 | | rel_id | smallint(6) | YES | MUL | NULL | | The corresponding release |
| | 188 | | exp_id | bigint(20) | YES | | NULL | | The IPP exposure identifier |
| | 189 | | chip_id | bigint(20) | YES | | NULL | | id for chipRun |
| | 190 | | cam_id | bigint(20) | YES | | NULL | | id for camRun |
| | 191 | | warp_id | bigint(20) | YES | | NULL | | id for warpRun |
| | 192 | | add_id | bigint(20) | YES | | NULL | | id for addRun (addstar injest into DVO) |
| | 193 | | state | varchar(16) | YES | MUL | NULL | | state for this row see below |
| | 194 | | data_state | varchar(16) | YES | MUL | NULL | | see below |
| | 195 | | flags | int(10) unsigned | YES | | NULL | | |
| | 196 | | zpt_obs | float | YES | | NULL | | calibrated zero point and error when released |
| | 197 | | zpt_stdev | float | YES | | NULL | | |
| | 198 | | path_base | varchar(255) | YES | | NULL | | path to any supporting files |
| | 199 | | registered | datetime | YES | | NULL | | creation time for row |
| | 200 | | time_stamp | datetime | YES | | NULL | | time of last update to row |
| | 201 | +------------+------------------+------+-----+---------+----------------+ |
| | 202 | }}} |
| | 203 | |
| | 204 | |
| | 205 | |
| | 206 | |
| | 207 | |
| | 208 | |
| | 209 | |
| | 210 | |