diff --git a/docker/tap-schema/0005_tap_schema_self11.sql b/docker/tap-schema/0005_tap_schema_self11.sql index ca869cd..468d887 100644 --- a/docker/tap-schema/0005_tap_schema_self11.sql +++ b/docker/tap-schema/0005_tap_schema_self11.sql @@ -34,15 +34,15 @@ delete from tap_schema.schemas11 where lower(schema_name) = 'tap_schema' insert into tap_schema.schemas11 (schema_name,description,utype,schema_index) values -( 'tap_schema', 'a special schema to describe TAP-1.1 tablesets', NULL, 10) +( 'tap_schema', 'A TAP-standard-mandated schema to describe tablesets in a TAP 1.1 service', NULL, 100000) ; insert into tap_schema.tables11 (schema_name,table_name,table_type,description,utype,table_index) values -( 'tap_schema', 'tap_schema.schemas', 'table', 'description of schemas in this tableset', NULL, 1), -( 'tap_schema', 'tap_schema.tables', 'table', 'description of tables in this tableset', NULL, 2), -( 'tap_schema', 'tap_schema.columns', 'table', 'description of columns in this tableset', NULL, 3), -( 'tap_schema', 'tap_schema.keys', 'table', 'description of foreign keys in this tableset', NULL, 4), -( 'tap_schema', 'tap_schema.key_columns', 'table', 'description of foreign key columns in this tableset', NULL, 5) +( 'tap_schema', 'tap_schema.schemas', 'table', 'description of schemas in this tableset', NULL, 100000), +( 'tap_schema', 'tap_schema.tables', 'table', 'description of tables in this tableset', NULL, 101000), +( 'tap_schema', 'tap_schema.columns', 'table', 'description of columns in this tableset', NULL, 102000), +( 'tap_schema', 'tap_schema.keys', 'table', 'description of foreign keys in this tableset', NULL, 103000), +( 'tap_schema', 'tap_schema.key_columns', 'table', 'description of foreign key columns in this tableset', NULL, 104000) ; insert into tap_schema.columns11 (table_name,column_name,description,utype,ucd,unit,datatype,arraysize,xtype,principal,indexed,std, column_index) values diff --git a/docker/tap-schema/1000_table_create.sql b/docker/tap-schema/1000_table_create.sql index 8711c36..8485ddf 100644 --- a/docker/tap-schema/1000_table_create.sql +++ b/docker/tap-schema/1000_table_create.sql @@ -29,13 +29,13 @@ CREATE TABLE tap_schema.obscore ); INSERT INTO tap_schema.schemas11 (schema_name, description, utype, schema_index) - VALUES ('SYS', 'An Oracle system schema', NULL, 100); + VALUES ('SYS', 'An Oracle system schema', NULL, 130000); INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, description, utype, table_index) - VALUES ('tap_schema', 'tap_schema.obscore', 'table', 'description of schemas in this tableset', NULL, 1); + VALUES ('tap_schema', 'tap_schema.obscore', 'table', '(experimental) basic ObsCore table', NULL, 105000); INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, description, utype, table_index) - VALUES ('SYS', 'SYS.DUAL', 'table', 'Oracle system table.', NULL, 2); + VALUES ('SYS', 'SYS.DUAL', 'table', 'Oracle system table.', NULL, 130000); INSERT INTO tap_schema.columns11 (table_name,column_name,utype,ucd,unit,description,datatype,arraysize,xtype,principal,indexed,std,column_index,id) diff --git a/docker/tap-schema/1002_gaia_source.sql b/docker/tap-schema/1002_gaia_source.sql index c10180f..e9028fa 100644 --- a/docker/tap-schema/1002_gaia_source.sql +++ b/docker/tap-schema/1002_gaia_source.sql @@ -22,10 +22,10 @@ GRANT SELECT ON gaiadr2.* TO 'TAP_SCHEMA'@'%'; -- Insert the tap_schema metadata about this table and its columns. INSERT INTO tap_schema.schemas11 (schema_name, description, utype, schema_index) - VALUES ('gaiadr2', 'Gaia DR2', NULL, 100); + VALUES ('gaiadr2', '(experimental) Gaia DR2', NULL, 110000); INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, description, utype, table_index) - VALUES ('gaiadr2', 'gaiadr2.gaia_source', 'table', 'GAIA source table.', NULL, 1); + VALUES ('gaiadr2', 'gaiadr2.gaia_source', 'table', 'GAIA source table (column subset)', NULL, 110000); INSERT INTO tap_schema.columns11 (table_name, column_name, utype, ucd, unit, description, datatype, arraysize, size, principal, indexed, std, column_index, id) VALUES diff --git a/docker/tap-schema/1003_uws_tap_schema.sql b/docker/tap-schema/1003_uws_tap_schema.sql index 830cb2c..7879dd7 100644 --- a/docker/tap-schema/1003_uws_tap_schema.sql +++ b/docker/tap-schema/1003_uws_tap_schema.sql @@ -5,10 +5,10 @@ DELETE FROM tap_schema.schemas11 where schema_name like 'uws'; -- Insert the tap_schema metadata about this table and its columns. INSERT INTO tap_schema.schemas11 (schema_name, description, utype, schema_index) - VALUES ('uws', 'UWS Metadata', NULL, 100); + VALUES ('uws', 'UWS Metadata', NULL, 120000); INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, description, utype, table_index) - VALUES ('uws', 'uws.Job', 'table', 'Job history table.', NULL, 1); + VALUES ('uws', 'uws.Job', 'table', 'Job history table.', NULL, 120000); INSERT INTO tap_schema.columns11 (table_name, column_name, utype, ucd, unit, description, datatype, arraysize, size, principal, indexed, std, column_index, id) VALUES diff --git a/docker/tap-schema/1004_wise_tap_schema.sql b/docker/tap-schema/1004_wise_tap_schema.sql index 2410551..bb461af 100644 --- a/docker/tap-schema/1004_wise_tap_schema.sql +++ b/docker/tap-schema/1004_wise_tap_schema.sql @@ -1,5 +1,5 @@ -INSERT INTO tap_schema.schemas11 (schema_name, utype, description, schema_index) VALUES ('wise_00', null, 'ALLWISE, All-Sky, NeoWISE', 0); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allsky_2band_p1bm_frm', 'table', null, 'WISE Post-Cryo Single Exposure (L1b) Image Inventory Table', 0); +INSERT INTO tap_schema.schemas11 (schema_name, utype, description, schema_index) VALUES ('wise_00', null, 'Public WISE mission data: AllWISE catalogs and images; All-Sky single-epoch images', 20000); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allsky_2band_p1bm_frm', 'table', null, 'WISE Post-Cryo Single Exposure (L1b) Image Inventory Table', 26000); INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('wise_00.allsky_2band_p1bm_frm', 'band', 'int', null, null, 'WISE band 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 ('wise_00.allsky_2band_p1bm_frm', 'naxis', 'int', null, null, 'number of data axes', 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 ('wise_00.allsky_2band_p1bm_frm', 'naxis1', 'int', null, null, 'number of pixels in x (data axis 1)', null, null, null, 0, 0, 0, null); @@ -72,7 +72,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 ('wise_00.allsky_2band_p1bm_frm', 'qp_fact', 'double', null, null, 'quality factor qp value for scan: photometric quality', 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 ('wise_00.allsky_2band_p1bm_frm', 'date_imgprep', 'char', 21, null, 'date and time of imgprep run, UTC', null, 'datetimeZ', 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 ('wise_00.allsky_2band_p1bm_frm', 'cntr', 'long', null, null, 'unique entry counter (key) number', null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allsky_3band_p1bm_frm', 'table', null, 'WISE 3-Band Cryo Single Exposure (L1b) Image Inventory Table', 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allsky_3band_p1bm_frm', 'table', null, 'WISE 3-Band Cryo Single Exposure (L1b) Image Inventory Table', 25000); INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('wise_00.allsky_3band_p1bm_frm', 'band', 'int', null, null, 'WISE band 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 ('wise_00.allsky_3band_p1bm_frm', 'naxis', 'int', null, null, 'number of data axes', 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 ('wise_00.allsky_3band_p1bm_frm', 'naxis1', 'int', null, null, 'number of pixels in x (data axis 1)', null, null, null, 0, 0, 0, null); @@ -144,7 +144,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 ('wise_00.allsky_3band_p1bm_frm', 'qs5_fact', 'double', null, null, 'quality factor qs5 value for scan: 5x5 scansynch quality', 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 ('wise_00.allsky_3band_p1bm_frm', 'qp_fact', 'double', null, null, 'quality factor qp value for scan: photometric quality', 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 ('wise_00.allsky_3band_p1bm_frm', 'cntr', 'long', null, null, 'unique entry counter (key) number', null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allsky_4band_p1bm_frm', 'table', null, 'WISE All-Sky Single Exposure (L1b) Image Inventory Table', 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allsky_4band_p1bm_frm', 'table', null, 'WISE All-Sky Single Exposure (L1b) Image Inventory Table', 24000); INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('wise_00.allsky_4band_p1bm_frm', 'band', 'int', null, null, 'WISE band 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 ('wise_00.allsky_4band_p1bm_frm', 'naxis', 'int', null, null, 'number of data axes', 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 ('wise_00.allsky_4band_p1bm_frm', 'naxis1', 'int', null, null, 'number of pixels in x (data axis 1)', null, null, null, 0, 0, 0, null); @@ -217,7 +217,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 ('wise_00.allsky_4band_p1bm_frm', 'qp_fact', 'double', null, null, 'quality factor qp value for scan: photometric quality', 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 ('wise_00.allsky_4band_p1bm_frm', 'date_imgprep', 'char', 21, null, 'date and time of imgprep run, UTC', null, 'datetimeZ', 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 ('wise_00.allsky_4band_p1bm_frm', 'cntr', 'long', null, null, 'unique entry counter (key) number', null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allwise_p3am_cdd', 'table', null, 'AllWISE Atlas Image Inventory Table', 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allwise_p3am_cdd', 'table', null, 'AllWISE Atlas Image Inventory Table', 22000); INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('wise_00.allwise_p3am_cdd', 'coadd_id', 'char', 20, null, 'coadd ID', 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 ('wise_00.allwise_p3am_cdd', 'band', 'int', null, null, 'WISE band 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 ('wise_00.allwise_p3am_cdd', 'naxis', 'int', null, null, 'number of data axes', null, null, null, 0, 0, 0, null); @@ -280,7 +280,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 ('wise_00.allwise_p3am_cdd', 'date_imgprep', 'char', 20, null, 'date and time of imgprep run, UTC', null, 'datetimeZ', 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 ('wise_00.allwise_p3am_cdd', 'load_id', 'int', null, null, 'unique load ID 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 ('wise_00.allwise_p3am_cdd', 'cntr', 'long', null, null, 'unique entry counter (key) number', null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allwise_p3as_cdd', 'table', null, 'AllWISE Atlas Metadata Table', 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allwise_p3as_cdd', 'table', null, 'AllWISE Atlas Metadata Table', 23000); INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('wise_00.allwise_p3as_cdd', 'coadd_id', 'char', 20, null, 'coadd ID', 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 ('wise_00.allwise_p3as_cdd', 'date_proc', 'char', 20, null, 'date and time of start of WSDC processing, UTC', null, 'datetimeZ', 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 ('wise_00.allwise_p3as_cdd', 'elapsed_t', 'double', null, null, 'elapsed clock time', null, 'sec', null, 0, 0, 0, null); @@ -621,7 +621,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 ('wise_00.allwise_p3as_cdd', 'w4flxwtsdy', 'double', null, null, 'signal-to-noise ratio in FLXWTDY, Band 4', 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 ('wise_00.allwise_p3as_cdd', 'load_id', 'int', null, null, 'unique load ID 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 ('wise_00.allwise_p3as_cdd', 'cntr', 'long', null, null, 'unique entry counter (key) number', null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allwise_p3as_mep', 'table', null, 'AllWISE Source Catalog', 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allwise_p3as_mep', 'table', null, 'AllWISE Multiepoch Photometry (MEP) Database', 21000); INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('wise_00.allwise_p3as_mep', 'cntr_mf', 'long', null, null, 'Reference source cntr from Multiframe source_id_mf', 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 ('wise_00.allwise_p3as_mep', 'source_id_mf', 'char', 28, null, 'Source id from Multiframe (coadd id and source 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 ('wise_00.allwise_p3as_mep', 'ra', 'double', null, null, 'right ascension (J2000)', null, 'deg', 'pos.eq.ra', 0, 0, 0, null); @@ -670,7 +670,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 ('wise_00.allwise_p3as_mep', 'z', 'double', null, null, 'unit sphere (x,y,z) position z value', 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 ('wise_00.allwise_p3as_mep', 'spt_ind', 'int', null, null, 'spatial (x,y,z) index key', 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 ('wise_00.allwise_p3as_mep', 'htm20', 'long', null, null, 'spatial (x,y,z) index key', null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allwise_p3as_psd', 'table', null, 'AllWISE Source Catalog', 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('wise_00', 'wise_00.allwise_p3as_psd', 'table', null, 'AllWISE Source Catalog', 20000); INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('wise_00.allwise_p3as_psd', 'designation', 'char', 20, null, 'unique WISE source designation', 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 ('wise_00.allwise_p3as_psd', 'ra', 'double', null, null, 'right ascension (J2000)', 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 ('wise_00.allwise_p3as_psd', 'decl', 'double', null, null, 'declination (J2000)', null, 'deg', 'pos.eq.dec', 0, 0, 0, null); diff --git a/docker/tap-schema/1005_sdss_tap_schema.sql b/docker/tap-schema/1005_sdss_tap_schema.sql index c303936..ed624b8 100644 --- a/docker/tap-schema/1005_sdss_tap_schema.sql +++ b/docker/tap-schema/1005_sdss_tap_schema.sql @@ -1,12 +1,10 @@ -INSERT INTO tap_schema.schemas11 (schema_name, utype, description, schema_index) VALUES ('sdss_stripe82_01', null, 'SDSS Winter 13 Reprocessing with some fixes from sdss_stripe82_00', 0); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Filter', 'table', null, null, 0); +INSERT INTO tap_schema.schemas11 (schema_name, utype, description, schema_index) VALUES ('sdss_stripe82_01', null, 'LSST Summer 2013 Reprocessing of SDSS Stripe 82', 30000); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Filter', 'table', null, 'Filter name-number mapping and wavelengths', 39000); 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.Filter', 'filterId', 'unsignedByte', null, null, 'Unique id (primary key).', null, null, 'meta.id;instr.filter', 1, 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.Filter', 'filterName', 'char', 3, null, 'Filter name. -values: [u, g, r, i, z] -', 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.Filter', 'filterName', 'char', 3, null, 'Filter name. Values: [u, g, r, i, z]', 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.Filter', 'photClam', 'float', null, null, 'Filter centroid wavelength.', null, 'nm', 'em.wl.effective;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.Filter', 'photBW', 'float', null, null, 'System effective bandwidth.', null, 'nm', 'instr.bandwidth', 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.DeepCoadd', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.DeepCoadd', 'table', null, 'List of coadded image tiles (patches)', 32000); 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', 'deepCoaddId', 'long', null, null, 'Primary key (unique identifier).', null, null, 'meta.id;obs.image', 1, 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', 'tract', 'int', null, null, 'Sky-tract 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.DeepCoadd', 'patch', 'char', 16, null, 'Sky-patch.', null, null, null, 0, 0, 0, null); @@ -41,7 +39,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.DeepCoadd', 'matchedFwhm', 'double', null, null, 'FWHM computed from PSF that was matched to during coaddition. NULL if coadds were created with PSF-matching turned off.', null, 'arcsec', 'instr.obsty.seeing', 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', 'measuredFwhm', 'double', null, null, 'FWHM computed from measured PSF. NULL if coadds were created with PSF-matching turned on and the pipeline was configured to use the matched-to PSF.', null, 'arcsec', 'instr.obsty.seeing', 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', 'path', 'char', 255, null, 'FITS file path relative to the SFM pipeline output directory.', null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.DeepCoadd_Metadata', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.DeepCoadd_Metadata', 'table', null, null, 34000); 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_Metadata', 'deepCoaddId', 'long', null, null, null, null, null, 'meta.id;obs.image', 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_Metadata', 'metadataKey', 'char', 255, null, null, 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_Metadata', 'exposureType', 'unsignedByte', null, null, 'Description of the schema. @@ -57,10 +55,10 @@ values: 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_Metadata', 'intValue', 'int', null, null, null, 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_Metadata', 'doubleValue', 'double', null, null, null, 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_Metadata', 'stringValue', 'char', 255, null, null, null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.DeepCoadd_To_Htm10', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.DeepCoadd_To_Htm10', 'table', null, null, 35000); 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_To_Htm10', 'deepCoaddId', 'long', null, null, 'Pointer to DeepCoadd.', 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_To_Htm10', 'htmId10', 'int', null, null, 'ID for Level 10 HTM triangle overlapping exposure. For each exposure in DeepCoadd, there will be one row for every overlapping triangle.', null, null, 'pos.HTM', 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.LeapSeconds', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.LeapSeconds', 'table', null, null, 40000); 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.LeapSeconds', 'whenJd', 'float', null, null, 'JD of change in TAI-UTC difference (leap second).', null, 'd', 'time.epoch', 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.LeapSeconds', 'offset', 'float', null, null, 'New number of leap seconds.', null, 's', 'time.interval', 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.LeapSeconds', 'mjdRef', 'float', null, null, 'Reference MJD for drift (prior to 1972-Jan-1).', null, 'd', 'time.epoch', 0, 0, 0, null); @@ -68,7 +66,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.LeapSeconds', 'whenMjdUtc', 'float', null, null, 'MJD in UTC system of change (computed).', null, 'd', 'time.epoch', 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.LeapSeconds', 'whenUtc', 'long', null, null, 'Nanoseconds from epoch in UTC system of change (computed).', null, 'ns', 'time', 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.LeapSeconds', 'whenTai', 'long', null, null, 'Nanoseconds from epoch in TAI system of change (computed).', null, 'ns', 'time', 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.RunDeepForcedSource', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.RunDeepForcedSource', 'table', null, 'Forced photometry on i-band coadded sources', 31000); 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.RunDeepForcedSource', 'id', 'long', null, null, null, null, null, 'meta.id;src', 1, 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.RunDeepForcedSource', 'coord_ra', 'double', null, null, 'ICRS RA of source centroid (x, y).', 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.RunDeepForcedSource', 'coord_decl', 'double', null, null, 'ICRS Dec of source centroid (x, y).', null, 'deg', 'pos.eq.dec', 0, 0, 0, null); @@ -158,7 +156,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.RunDeepForcedSource', 'is_primary', 'boolean', null, null, 'True if does not come from de-duplication.', 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.RunDeepForcedSource', 'object_coord_ra', 'double', null, null, 'ICRS RA of object associated with this source, or ra if the source was not associated with any object (objectId is NULL).', 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.RunDeepForcedSource', 'object_coord_decl', 'double', null, null, 'ICRS Dec of object associated with this source, or decl if the source was not associated with any object (objectId is NULL).', null, 'deg', 'pos.eq.dec', 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.RunDeepSource', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.RunDeepSource', 'table', null, 'Sources detected on coadds', 30000); 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', 'id', 'long', null, null, 'Primary key (unique identifier).', null, null, 'meta.id;src', 1, 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_ra', 'double', null, null, 'ICRS RA of source centroid (x, y).', 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.RunDeepSource', 'coord_decl', 'double', null, null, 'ICRS Dec of source centroid (x, y).', null, 'deg', 'pos.eq.dec', 0, 0, 0, null); @@ -301,7 +299,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', '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); 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_filter_id', 'int', null, null, 'ID of filter used for the coadd the source was detected and measured on (pointer to DeepCoadd).', null, null, 'meta.id;instr.filter', 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Science_Ccd_Exposure', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Science_Ccd_Exposure', 'table', null, 'List of single-epoch exposures', 33000); 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', 'scienceCcdExposureId', 'long', null, null, 'Primary key (unique identifier).', null, null, 'meta.id;obs.image', 1, 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', 'run', 'int', null, null, 'Run 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', 'camcol', 'unsignedByte', null, null, 'Camera column.', null, null, null, 0, 0, 0, null); @@ -343,7 +341,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.Science_Ccd_Exposure', 'fluxMag0Sigma', 'float', null, null, '1-sigma error on fluxmag0.', null, null, 'stat.error;phot.flux.density', 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', 'fwhm', 'double', null, null, 'Full width at half maximum', null, 'arcsec', 'instr.obsty.seeing', 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', 'path', 'char', 255, null, 'CCD FITS file path relative to the SFM pipeline output directory.', null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Science_Ccd_Exposure_Metadata', 'table', null, 'Generic key-value pair metadata for Science_Ccd_Exposure.', 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Science_Ccd_Exposure_Metadata', 'table', null, 'Generic key-value pair metadata for Science_Ccd_Exposure.', 36000); 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_Metadata', 'scienceCcdExposureId', 'long', null, null, null, null, null, 'meta.id;obs.image', 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_Metadata', 'metadataKey', 'char', 255, null, null, 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_Metadata', 'exposureType', 'unsignedByte', null, null, 'Type of exposure. @@ -358,16 +356,16 @@ values: 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_Metadata', 'intValue', 'int', null, null, null, 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_Metadata', 'doubleValue', 'double', null, null, null, 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_Metadata', 'stringValue', 'char', 255, null, null, null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Science_Ccd_Exposure_NoFile', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Science_Ccd_Exposure_NoFile', 'table', null, 'Exposures missing in the processing output', 38000); 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_NoFile', 'scienceCcdExposureId', 'long', null, null, null, null, null, null, 1, 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_NoFile', 'run', 'int', null, null, null, 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_NoFile', 'filterId', 'unsignedByte', null, null, null, 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_NoFile', 'camcol', 'unsignedByte', null, null, null, 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_NoFile', 'field', 'int', null, null, null, 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_NoFile', 'path', 'char', 255, null, null, null, null, null, 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Science_Ccd_Exposure_To_Htm10', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.Science_Ccd_Exposure_To_Htm10', 'table', null, null, 37000); 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_To_Htm10', 'scienceCcdExposureId', 'long', null, null, 'Pointer to Science_Ccd_Exposure.', 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_To_Htm10', 'htmId10', 'int', null, null, 'ID for Level 10 HTM triangle overlapping exposure. For each exposure in DeepCoadd, there will be one row for every overlapping triangle.', null, null, 'pos.HTM', 0, 0, 0, null); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.ZZZ_Db_Description', 'table', null, null, 0); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('sdss_stripe82_01', 'sdss_stripe82_01.ZZZ_Db_Description', 'table', null, null, 41000); 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.ZZZ_Db_Description', 'f', 'char', 255, null, null, 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.ZZZ_Db_Description', 'r', 'char', 255, null, null, null, null, null, 0, 0, 0, null); diff --git a/docker/tap-schema/1006_hscrc2w201938_tap_schema.sql b/docker/tap-schema/1006_hscrc2w201938_tap_schema.sql index 64bf629..2030e34 100644 --- a/docker/tap-schema/1006_hscrc2w201938_tap_schema.sql +++ b/docker/tap-schema/1006_hscrc2w201938_tap_schema.sql @@ -1,5 +1,5 @@ -INSERT INTO tap_schema.schemas11 (schema_name, utype, description, schema_index) VALUES ('hsc_rc2_w_2019_38', null, 'HSC RC2 Reprocessing w_2019_38', 0); -INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('hsc_rc2_w_2019_38', 'hsc_rc2_w_2019_38.Object', 'table', null, 'The Object table contains descriptions of the multi-epoch static astronomical objects, in particular their astrophysical properties as derived from analysis of the Sources that are associated with them.', 0); +INSERT INTO tap_schema.schemas11 (schema_name, utype, description, schema_index) VALUES ('hsc_rc2_w_2019_38', null, 'HSC RC2 Reprocessing w_2019_38', 10000); +INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('hsc_rc2_w_2019_38', 'hsc_rc2_w_2019_38.Object', 'table', null, 'The Object table contains descriptions of the multi-epoch static astronomical objects, in particular their astrophysical properties as derived from analysis of the Sources that are associated with them.', 10000); INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('hsc_rc2_w_2019_38.Object', 'objectId', 'long', null, null, 'Unique id.', null, null, 'meta.id;src', 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 ('hsc_rc2_w_2019_38.Object', 'parentObjectId', 'long', null, null, 'Id of the parent object this object has been deblended from, if any.', 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 ('hsc_rc2_w_2019_38.Object', 'coord_ra', 'double', null, null, 'RA-coordinate', null, 'deg', 'pos.eq.ra', 0, 0, 0, null);