Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Epic Link:
-
Sprint:DB_S17_10
-
Team:Data Access and Database
Description
Scope
This tickets represents a summary of WISE catalogs loaded into PDAC Qserv in the year of 2017.
Properties of the dataset are documented at:
Catalog descriptions
AllWISE
catalog (link to IPAC) | PDAC database | table (link to PDAC schema) |
---|---|---|
AllWISE source Catalog, equivalent to LSST object | wise_00 | allwise_p3as_psd |
AllWISE Reject Table, equivalent to LSST object (faint, rejected objects) | wise_ext_00 | allwise_p3as_psr |
AllWISE Multiepoch Photometry Table, equivalent to LSST forced source | wise_00 | allwise_p3as_mep |
AllWISE Atlas Image Inventory Table, the meta data for AllWISE coadd images | wise_00 | allwise_p3am_cdd |
AllWISE Atlas Metadata Table | wise_00 | allwise_p3as_cdd |
WISE All-Sky, 3-band Cryo, and Post-Cryo databases, the single exposure image meta data
catalog (link to IPAC) | PDAC database | table (link to PDAC schema) |
---|---|---|
WISE All-Sky Single Exposure (L1b) Image Inventory Table | wise_00 | allsky_4band_p1bm_frm |
WISE 3-Band Cryo Single Exposure (L1b) Image Inventory Table | wise_00 | allsky_3band_p1bm_frm |
WISE Post-Cryo Single Exposure (L1b) Image Inventory Table | wise_00 | allsky_2band_p1bm_frm |
WISE All-Sky, 3-band Cryo, and Post-Cryo databases
catalog (link to IPAC) | PDAC database | table (link to PDAC schema) |
---|---|---|
WISE All-Sky Single Exposure (L1b) Source Table | wise_00 | allsky_4band_p1bs_psd |
WISE 3-Band Cryo Single Exposure (L1b) Source Table | wise_00 | allsky_3band_p1bs_psd |
WISE Post-Cryo Single Exposure (L1b) Source Table | wise_00 | allsky_2band_p1bs_psd |
NeoWISE
catalog (link to IPAC) | PDAC database | table (link to PDAC schema) |
---|---|---|
NEOWISE-R Year 1 Single Exposure (L1b) Source Table | neowiser_yr1_00 | neowiser_yr1_p1bs_psd |
Changes made to the original schema
Data types
The original schema files of the input datasets had to be adjusted to map Oracle-specific types into standard SQL or MySQL types. The table below show the mapping:
Oracle | MySQL |
---|---|
SERIAL8 | BIGINT |
SMALLFLOAT | FLOAT |
INT8 | BIGINT |
VARCHAR2(N BYTE) | VARCHAR(N) |
NUMBER(M,D) | DECIMAL(M,D) |
NUMBER(10,0) | INT |
NUMBER(10) | INT |
NUMBER(19) | BIGINT |
Indexes
The original schema files had no indexes. A minimal set (depending on a table) of indexes were added into the output schema.
Replaced dec with decl as column names
Due to a bug in Qserv implementation (see DM-9736) reserved words of the SQL-92 (or MySQL) can't be used to identifiers in tables schema. One particular problem of the original WISE dataset is caused by using dec (for declination) as the column names of both tables. The problem was discovered later on when testing the loaded dataset (see the log of downstream comments for details). A workaround deployed then was to rename the columns of both tables as decl.
Attachments
Issue Links
- relates to
-
DM-10283 Add ability to join different databases.
- Done
-
DM-8762 WISE single epoch source table integration(f17)
- Done
-
DM-9372 Load WISE catalog data in PDAC
- Done
-
DM-10740 Load WISE n-band catalogs into PDAC
- Done
-
DM-12523 Load NEOWISE-R Year 1 Single Exposure (L1b) Source Table into PDAC
- Done
- mentioned in
-
Page Loading...