Skip to content

Commit

Permalink
Merge pull request #54 from lsst/tickets/DM-34780
Browse files Browse the repository at this point in the history
DM-34780: Update sdm_schemas for DP0.2 production run
  • Loading branch information
ctslater committed May 17, 2022
2 parents 06c9739 + 5b8634c commit 46fde64
Show file tree
Hide file tree
Showing 3 changed files with 8,540 additions and 12 deletions.
6 changes: 3 additions & 3 deletions tap-schema/build-all
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -ex
./build mock
./build stable ../yml/hsc_gen2.yaml ../yml/hsc.yaml ../yml/wise_01.yml ../yml/dp01_dc2.yaml ../yml/dp02_dc2.yaml
./build int ../yml/hsc_gen2.yaml ../yml/hsc.yaml ../yml/wise_01.yml ../yml/dp01_dc2.yaml ../yml/dp02_dc2.yaml
./build stable ../yml/hsc_gen2.yaml ../yml/hsc.yaml ../yml/wise_01.yml ../yml/dp01_dc2.yaml ../yml/dp02_dc2_preops-863.yaml
./build int ../yml/hsc_gen2.yaml ../yml/hsc.yaml ../yml/wise_01.yml ../yml/dp01_dc2.yaml ../yml/dp02_dc2_preops-863.yaml
./build idfprod ../yml/dp01_dc2.yaml
./build idfint ../yml/dp01_dc2.yaml ../yml/dp02_dc2.yaml
./build idfint ../yml/dp01_dc2.yaml ../yml/dp02_dc2_preops-863.yaml ../yml/dp02_dc2.yaml
134 changes: 125 additions & 9 deletions yml/dp02_dc2.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: dp02_test_PREOPS863_00
"@id": dp02_dc2_catalogs
description: Preliminary schema for Data Preview 0.2, including only catalog tables for now.
name: dp02_dc2_catalogs
"@id": "#dp02_dc2_catalogs"
tables:
- name: Object
"@id": "#Object"
Expand Down Expand Up @@ -5958,7 +5957,9 @@ tables:
datatype: double
description:
mysql:datatype: DOUBLE
fits.tunit: deg
fits:tunit: deg


- name: Source
"@id": "#Source"
description: Table to store high signal-to-noise sources;. A source is
Expand Down Expand Up @@ -6266,6 +6267,18 @@ tables:
description:
mysql:datatype: DOUBLE
fits:tunit:
- name: gaussianFlux
"@id": "#Source.gaussianFlux"
datatype: double
description:
mysql:datatype: DOUBLE
fits:tunit:
- name: gaussianFluxErr
"@id": "#Source.gaussianFluxErr"
datatype: double
description:
mysql:datatype: DOUBLE
fits:tunit:
- name: extendedness
"@id": "#Source.extendedness"
datatype: double
Expand Down Expand Up @@ -6554,6 +6567,12 @@ tables:
description:
mysql:datatype: BOOLEAN
fits:tunit:
- name: gaussianFlux_flag
"@id": "#Source.gaussianFlux_flag"
datatype: boolean
description:
mysql:datatype: BOOLEAN
fits:tunit:
- name: centroid_flag
"@id": "#Source.centroid_flag"
datatype: boolean
Expand Down Expand Up @@ -6787,7 +6806,7 @@ tables:
"@id": "#Source.instrument"
datatype: char
description:
length: 3
length: 13
mysql:datatype: CHAR(13)
fits:tunit:
- name: detector
Expand All @@ -6800,7 +6819,7 @@ tables:
"@id": "#Source.physical_filter"
datatype: char
description:
length: 5
length: 9
mysql:datatype: CHAR(9)
fits:tunit:
- name: visit_system
Expand All @@ -6814,7 +6833,7 @@ tables:
datatype: long
description:
mysql:datatype: BIGINT
fits.tunit:
fits:tunit:
- name: ForcedSource
"@id": "#ForcedSource"
description: The forced source table contains forced-photometry source
Expand Down Expand Up @@ -8236,6 +8255,81 @@ tables:
datatype: long
mysql:datatype: BIGINT
description:
- name: MatchesTruth
'@id': '#MatchesTruth'
description: Match information for truth_summary sources.
columns:
- name: index
'@id': '#MatchesTruth.index'
datatype: long
mysql:datatype: BIGINT
description: Incrementing (implicit) row index
- name: match_candidate
'@id': '#MatchesTruth.match_candidate'
datatype: boolean
mysql:datatype: BOOLEAN
description: True for sources that were selected for matching
- name: match_row
'@id': '#MatchesTruth.match_row'
datatype: long
mysql:datatype: BIGINT
description: Index of matched objectTable_tract table row, if any
- name: match_count
'@id': '#MatchesTruth.match_count'
datatype: int
mysql:datatype: INTEGER
description: Number of candidate object matches within match radius
- name: match_chisq
'@id': '#MatchesTruth.match_chisq'
datatype: double
mysql:datatype: double
description: The chi-squared value of the (best) match
- name: match_n_chisq_finite
'@id': '#MatchesTruth.match_n_chisq_finite'
datatype: int
mysql:datatype: INTEGER
description: The number of finite columns used to compute the match chisq
- name: id
'@id': '#MatchesTruth.id'
datatype: char
length: 16
mysql:datatype: CHAR(16)
description: id for truth_summary source.
- name: match_objectId
'@id': '#MatchesTruth.match_objectId'
datatype: long
mysql:datatype: BIGINT
description: objectId of matched objectTable_tract object, if any
- name: MatchesObject
'@id': '#MatchesObject'
description: Match information for objectTable_tract sources
columns:
- name: index
'@id': '#MatchesObject.index'
datatype: long
mysql:datatype: BIGINT
description: Incrementing (implicit) row index
- name: match_candidate
'@id': '#MatchesObject.match_candidate'
datatype: boolean
mysql:datatype: BOOLEAN
description: True for sources that were selected for matching
- name: match_row
'@id': '#MatchesObject.match_row'
datatype: long
mysql:datatype: BIGINT
description: Index of matched truth_summary table row, if any
- name: match_id
'@id': '#MatchesObject.match_id'
datatype: char
length: 16
mysql:datatype: CHAR(16)
description: id of matched truth_summary source, if any
- name: objectId
'@id': '#MatchesObject.objectId'
datatype: long
mysql:datatype: BIGINT
description: objectId of object
- name: Visit
'@id': '#Visit'
description: ''
Expand Down Expand Up @@ -8282,14 +8376,28 @@ tables:
'@id': '#Visit.airmass'
datatype: double
description: ''
- name: expTime
'@id': '#Visit.expTime'
datatype: double
description: ''
- name: expMidpt
'@id': '#Visit.expMidpt'
datatype: timestamp
length: 6
mysql:datatype: DATETIME(6)
description: ''
- name: expMidptMJD
'@id': '#Visit.expMidptMJD'
datatype: double
description: ''
- name: obsStart
'@id': '#Visit.obsStart'
datatype: timestamp
length: 6
mysql:datatype: DATETIME(6)
description: ''
- name: expTime
'@id': '#Visit.expTime'
- name: obsStartMJD
'@id': '#Visit.obsStartMJD'
datatype: double
description: ''
- name: CcdVisit
Expand Down Expand Up @@ -8356,6 +8464,10 @@ tables:
length: 6
mysql:datatype: DATETIME(6)
description: ''
- name: expMidptMJD
'@id': '#CcdVisit.expMidptMJD'
datatype: double
description: ''
- name: expTime
'@id': '#CcdVisit.expTime'
datatype: double
Expand All @@ -8366,6 +8478,10 @@ tables:
length: 6
mysql:datatype: DATETIME(6)
description: ''
- name: obsStartMJD
'@id': '#CcdVisit.obsStartMJD'
datatype: double
description: ''
- name: darkTime
'@id': '#CcdVisit.darkTime'
datatype: double
Expand Down

0 comments on commit 46fde64

Please sign in to comment.