Skip to content

Commit

Permalink
Merge pull request #37 from lsst-sqre/tickets/DM-18557
Browse files Browse the repository at this point in the history
[DM-18557] Fix up TAP_SCHEMA UCDs for some columns
  • Loading branch information
cbanek authored Dec 23, 2019
2 parents 34527b4 + 34fc496 commit ba5b529
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/tap-schema/1005_sdss_tap_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize,
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'patch', 'char', 16, null, 'Sky-patch.', null, null, null, 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'filterId', 'unsignedByte', null, null, 'Id of the filter for the band.', null, null, 'meta.id;instr.filter', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'filterName', 'char', 3, null, 'Filter name, pulled in from the Filter table.', null, null, 'instr.bandpass', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'ra', 'double', null, null, 'ICRS R.A. of image center, corresponding to FITS pixel coordinates ((NAXIS1 + 1)/2, (NAXIS2 + 1)/2).', null, 'deg', 'pos.eq.ra', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'decl', 'double', null, null, 'ICRS Dec. of image center, corresponding to FITS pixel coordinates ((NAXIS1 + 1)/2, (NAXIS2 + 1)/2).', null, 'deg', 'pos.eq.dec', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'ra', 'double', null, null, 'ICRS R.A. of image center, corresponding to FITS pixel coordinates ((NAXIS1 + 1)/2, (NAXIS2 + 1)/2).', null, 'deg', 'pos.eq.ra;meta.main', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'decl', 'double', null, null, 'ICRS Dec. of image center, corresponding to FITS pixel coordinates ((NAXIS1 + 1)/2, (NAXIS2 + 1)/2).', null, 'deg', 'pos.eq.dec;meta.main', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'htmId20', 'long', null, null, 'Level 20 HTM ID of (ra, decl)', null, null, 'pos.HTM', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'equinox', 'float', null, null, null, null, null, 'pos.equinox', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.DeepCoadd', 'raDeSys', 'char', 20, null, null, null, null, 'pos.frame', 0, 0, 0, null);
Expand Down Expand Up @@ -294,7 +294,7 @@ INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize,
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.RunDeepSource', 'detect_is_patch_inner', 'boolean', null, null, 'Detection is in the non-overlapping region of the patch.', null, null, 'meta.code', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.RunDeepSource', 'detect_is_tract_inner', 'boolean', null, null, 'Detection is in the non-overlapping region of the tract.', null, null, 'meta.code', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.RunDeepSource', 'detect_is_primary', 'boolean', null, null, 'Detection is the primary of a set of overlapping detections.', null, null, 'meta.code', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.RunDeepSource', 'coord_raVar', 'float', null, null, 'Variance of ra due to centroid uncertainty (xVar, xyCov, yVar).', null, null, 'stat.variance;pos.eq', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.RunDeepSource', 'coord_raVar', 'float', null, null, 'Variance of ra due to centroid uncertainty (xVar, xyCov, yVar).', null, null, 'stat.variance;pos.eq.ra', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.RunDeepSource', 'coord_radeclCov', 'float', null, null, 'Covariance of ra, decl due to centroid uncertainty (xVar, xyCov, yVar).', null, null, 'stat.covariance;pos.eq', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.RunDeepSource', 'coord_declVar', 'float', null, null, 'Variance of decl due to centroid uncertainty (xVar, xyCov, yVar).', null, null, 'stat.variance;pos.eq.dec', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.RunDeepSource', 'coadd_id', 'long', null, null, 'ID of the coadd the source was detected and measured on (pointer to DeepCoadd).', null, null, 'meta.id;obs.image', 0, 0, 0, null);
Expand All @@ -306,8 +306,8 @@ INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize,
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'filterId', 'unsignedByte', null, null, 'Id of the filter for the band.', null, null, 'meta.id;instr.filter', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'field', 'int', null, null, 'Field number.', null, null, null, 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'filterName', 'char', 3, null, 'Filter name, pulled in from the Filter table.', null, null, 'instr.bandpass', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'ra', 'double', null, null, 'ICRS R.A. of image center, corresponding to FITS pixel coordinates ((NAXIS1 + 1)/2, (NAXIS2 + 1)/2).', null, 'deg', 'pos.eq.ra', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'decl', 'double', null, null, 'ICRS Dec. of image center, corresponding to FITS pixel coordinates ((NAXIS1 + 1)/2, (NAXIS2 + 1)/2).', null, 'deg', 'pos.eq.dec', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'ra', 'double', null, null, 'ICRS R.A. of image center, corresponding to FITS pixel coordinates ((NAXIS1 + 1)/2, (NAXIS2 + 1)/2).', null, 'deg', 'pos.eq.ra;meta.main', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'decl', 'double', null, null, 'ICRS Dec. of image center, corresponding to FITS pixel coordinates ((NAXIS1 + 1)/2, (NAXIS2 + 1)/2).', null, 'deg', 'pos.eq.dec;meta.main', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'htmId20', 'long', null, null, 'Level 20 HTM ID of (ra, decl)', null, null, 'pos.HTM', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'equinox', 'float', null, null, 'Equinox of coordinates', null, null, 'pos.equinox', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('sdss_stripe82_01.Science_Ccd_Exposure', 'raDeSys', 'char', 20, null, 'Coordinate system for equinox', null, null, 'pos.frame', 0, 0, 0, null);
Expand Down

0 comments on commit ba5b529

Please sign in to comment.