Skip to content

Commit

Permalink
Merge pull request #109 from lsst/tickets/DM-38507
Browse files Browse the repository at this point in the history
DM-38507: Supply schema for the new ObsCore columns
  • Loading branch information
gpdf committed Apr 14, 2023
2 parents 191db27 + f87c743 commit d24acf0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
10 changes: 5 additions & 5 deletions yml/dp01_dc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tables:
- name: position
'@id': '#position'
description: Select astrometry-related parameters for objects detected in the coadded images, such as coordinates, footprints, patch/tract information, and deblending parameters. (29 columns)
tap:table_index: 2
tap:table_index: 3
columns:
- name: objectId
'@id': '#position.objectId'
Expand Down Expand Up @@ -250,7 +250,7 @@ tables:
- name: reference
'@id': '#reference'
description: Measurements for objects detected in the coadded images, including photometry, astrometry, shape, deblending, model fits, and related background and flag parameters. This table joined with the position table is very similar to the object table, but with additional columns. (236 columns)
tap:table_index: 3
tap:table_index: 4
columns:
- name: objectId
'@id': '#reference.objectId'
Expand Down Expand Up @@ -2200,7 +2200,7 @@ tables:
- name: forced_photometry
'@id': '#forced_photometry'
description: Forced photometry measurements for objects detected in the coadded images, at the locations defined by the position table. (747 columns)
tap:table_index: 4
tap:table_index: 5
columns:
- name: objectId
'@id': '#forced_photometry.objectId'
Expand Down Expand Up @@ -8233,7 +8233,7 @@ tables:
- name: object
'@id': '#object'
description: The object table from the DESC DC2 simulated sky survey as described in arXiv:2101.04855. Includes astrometric and photometric parameters for objects detected in coadded images. (137 columns)
tap:table_index: 0
tap:table_index: 1
columns:
- name: objectId
'@id': '#object.objectId'
Expand Down Expand Up @@ -9324,7 +9324,7 @@ tables:
- name: truth_match
'@id': '#truth_match'
description: The truth-match table for the DESC DC2's object table as described in arXiv:2101.04855. Includes the noiseless astrometric and photometric parameters and the best matches to the object table. (30 columns)
tap:table_index: 1
tap:table_index: 2
columns:
- name: id
'@id': '#truth_match.id'
Expand Down
28 changes: 26 additions & 2 deletions yml/dp02_obscore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tables:
"@id": "#ObsCore"
description: Observation metadata in the ObsTAP relational realization of
the IVOA ObsCore data model
tap:table_index: 1
columns:
- name: dataproduct_type
"@id": "ObsCore.dataproduct_type"
Expand All @@ -32,6 +33,18 @@ tables:
ivoa:unit:
datatype: char
votable:arraysize: 64
- name: obs_title
"@id": "ObsCore.obs_title"
description: Brief description of dataset in free format
nullable: true
ivoa:ucd: meta.title;obs
votable:utype: DataID.title
tap:std: 1
tap:principal: 1
tap:column_index: 225
ivoa:unit:
datatype: char
votable:arraysize: "*"
- name: facility_name
"@id": "ObsCore.facility_name"
description: The name of the facility, telescope, or space craft used for the observation
Expand Down Expand Up @@ -347,7 +360,7 @@ tables:
votable:utype:
tap:std: 0
tap:principal: 1
tap:column_index: 90
tap:column_index: 100
ivoa:unit:
datatype: long
- name: lsst_detector
Expand All @@ -361,6 +374,17 @@ tables:
tap:column_index: 110
ivoa:unit:
datatype: long
- name: lsst_ccdvisitid
"@id": "ObsCore.lsst_ccdvisitid"
description: Identifier for visit+CCD; useful in JOINs
nullable: true
ivoa:ucd: meta.id.part;obs
votable:utype:
tap:std: 0
tap:principal: 1
tap:column_index: 115
ivoa:unit:
datatype: long
- name: lsst_tract
"@id": "ObsCore.lsst_tract"
description: Upper level of LSST coadd skymap hierarchy
Expand Down Expand Up @@ -404,7 +428,7 @@ tables:
votable:utype:
tap:std: 0
tap:principal: 1
tap:column_index: 100
tap:column_index: 90
ivoa:unit:
datatype: char
length: 10
Expand Down

0 comments on commit d24acf0

Please sign in to comment.