Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-35125: fixups and column reordering #75

Merged
merged 2 commits into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 12 additions & 12 deletions yml/dp02_dc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8474,14 +8474,14 @@ tables:
description: RA of focal plane center.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.ra;meta.main
ivoa:ucd: pos.eq.ra;meta.main
- name: decl
'@id': '#Visit.decl'
datatype: double
description: Declination of focal plane center
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.dec;meta.main
ivoa:ucd: pos.eq.dec;meta.main
- name: skyRotation
'@id': '#Visit.skyRotation'
datatype: double
Expand Down Expand Up @@ -8584,14 +8584,14 @@ tables:
description: RA of Ccd center.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.ra;meta.main
ivoa:ucd: pos.eq.ra;meta.main
- name: decl
'@id': '#CcdVisit.decl'
datatype: double
description: Declination of Ccd center.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.dec;meta.main
ivoa:ucd: pos.eq.dec;meta.main
- name: zenithDistance
'@id': '#CcdVisit.zenithDistance'
datatype: float
Expand Down Expand Up @@ -8692,56 +8692,56 @@ tables:
description: RA of lower left corner.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.ra
ivoa:ucd: pos.eq.ra
- name: llcdec
'@id': '#CcdVisit.llcdec'
datatype: double
description: Declination of lower left corner.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.dec
ivoa:ucd: pos.eq.dec
- name: ulcra
'@id': '#CcdVisit.ulcra'
datatype: double
description: RA of upper left corner.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.ra
ivoa:ucd: pos.eq.ra
- name: ulcdec
'@id': '#CcdVisit.ulcdec'
datatype: double
description: Declination of upper left corner.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.dec
ivoa:ucd: pos.eq.dec
- name: urcra
'@id': '#CcdVisit.urcra'
datatype: double
description: RA of upper right corner.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.ra
ivoa:ucd: pos.eq.ra
- name: urcdec
'@id': '#CcdVisit.urcdec'
datatype: double
description: Declination of upper right corner.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.dec
ivoa:ucd: pos.eq.dec
- name: lrcra
'@id': '#CcdVisit.lrcra'
datatype: double
description: RA of lower right corner.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.ra
ivoa:ucd: pos.eq.ra
- name: lrcdec
'@id': '#CcdVisit.lrcdec'
datatype: double
description: Declination of lower right corner.
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:dec: pos.eq.dec
ivoa:ucd: pos.eq.dec
- name: CoaddPatches
"@id": "#coaddpatches"
description: "Static information about the subset of tracts and patches from the standard
Expand Down
35 changes: 35 additions & 0 deletions yml/dp02_obscore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ tables:
votable:utype: ObsDataset.dataProductType
tap:std: 1
tap:principal: 1
tap:column_index: 10
ivoa:unit:
datatype: char
votable:arraysize: 128
Expand All @@ -27,6 +28,7 @@ tables:
votable:utype: ObsDataset.dataProductSubtype
tap:std: 1
tap:principal: 1
tap:column_index: 20
ivoa:unit:
datatype: char
votable:arraysize: 64
Expand All @@ -38,6 +40,7 @@ tables:
votable:utype: Provenance.ObsConfig.Facility.name
tap:std: 1
tap:principal: 1
tap:column_index: 210
ivoa:unit:
datatype: char
votable:arraysize: 128
Expand All @@ -49,6 +52,7 @@ tables:
votable:utype: ObsDataset.calibLevel
tap:std: 1
tap:principal: 1
tap:column_index: 30
ivoa:unit:
datatype: int
- name: target_name
Expand All @@ -59,6 +63,7 @@ tables:
votable:utype: Target.name
tap:std: 1
tap:principal: 1
tap:column_index: 270
ivoa:unit:
datatype: char
votable:arraysize: 32
Expand All @@ -70,6 +75,7 @@ tables:
votable:utype: DataID.observationID
tap:std: 1
tap:principal: 1
tap:column_index: 180
ivoa:unit:
datatype: char
votable:arraysize: 128
Expand All @@ -81,6 +87,7 @@ tables:
votable:utype: DataID.collection
tap:std: 1
tap:principal: 1
tap:column_index: 190
ivoa:unit:
datatype: char
votable:arraysize: 128
Expand All @@ -92,6 +99,7 @@ tables:
votable:utype: Curation.publisherDID
tap:std: 1
tap:principal: 1
tap:column_index: 260
ivoa:unit:
datatype: char
votable:arraysize: 256
Expand All @@ -103,6 +111,7 @@ tables:
votable:utype: Access.reference
tap:std: 1
tap:principal: 1
tap:column_index: 240
ivoa:unit:
datatype: char
votable:arraysize: "*"
Expand All @@ -114,6 +123,7 @@ tables:
votable:utype: Access.format
tap:std: 1
tap:principal: 1
tap:column_index: 250
ivoa:unit:
datatype: char
votable:arraysize: 128
Expand All @@ -125,6 +135,7 @@ tables:
votable:utype: Char.SpatialAxis.Coverage.Location.Coord.Position2D.Value2.C1
tap:std: 1
tap:principal: 1
tap:column_index: 150
ivoa:unit: deg
datatype: double
- name: s_dec
Expand All @@ -135,6 +146,7 @@ tables:
votable:utype: Char.SpatialAxis.Coverage.Location.Coord.Position2D.Value2.C2
tap:std: 1
tap:principal: 1
tap:column_index: 160
ivoa:unit: deg
datatype: double
- name: s_fov
Expand All @@ -145,6 +157,7 @@ tables:
votable:utype: Char.SpatialAxis.Coverage.Bounds.Extent.diameter
tap:std: 1
tap:principal: 1
tap:column_index: 170
ivoa:unit: deg
datatype: double
- name: s_region
Expand All @@ -155,6 +168,7 @@ tables:
votable:utype: Char.SpatialAxis.Coverage.Support.Area
tap:std: 1
tap:principal: 1
tap:column_index: 230
ivoa:unit:
datatype: char
votable:arraysize: 512
Expand All @@ -166,6 +180,7 @@ tables:
votable:utype: Char.SpatialAxis.Resolution.Refval.value
tap:std: 1
tap:principal: 1
tap:column_index: 280
ivoa:unit: arcsec
datatype: double
- name: s_xel1
Expand All @@ -176,6 +191,7 @@ tables:
votable:utype: Char.SpatialAxis.numBins1
tap:std: 1
tap:principal: 1
tap:column_index: 290
ivoa:unit:
datatype: long
- name: s_xel2
Expand All @@ -186,6 +202,7 @@ tables:
votable:utype: Char.SpatialAxis.numBins2
tap:std: 1
tap:principal: 1
tap:column_index: 300
ivoa:unit:
datatype: long
- name: t_xel
Expand All @@ -196,6 +213,7 @@ tables:
votable:utype: Char.TimeAxis.numBins
tap:std: 1
tap:principal: 1
tap:column_index: 320
ivoa:unit:
datatype: long
- name: t_min
Expand All @@ -206,6 +224,7 @@ tables:
votable:utype: Char.TimeAxis.Coverage.Bounds.Limits.StartTime
tap:std: 1
tap:principal: 1
tap:column_index: 130
ivoa:unit: d
datatype: double
- name: t_max
Expand All @@ -216,6 +235,7 @@ tables:
votable:utype: Char.TimeAxis.Coverage.Bounds.Limits.StopTime
tap:std: 1
tap:principal: 1
tap:column_index: 140
ivoa:unit: d
datatype: double
- name: t_exptime
Expand All @@ -226,6 +246,7 @@ tables:
votable:utype: Char.TimeAxis.Coverage.Support.Extent
tap:std: 1
tap:principal: 1
tap:column_index: 120
ivoa:unit: s
datatype: double
- name: t_resolution
Expand All @@ -236,6 +257,7 @@ tables:
votable:utype: Char.TimeAxis.Resolution.Refval.value
tap:std: 1
tap:principal: 1
tap:column_index: 310
ivoa:unit: s
datatype: double
- name: em_xel
Expand All @@ -246,6 +268,7 @@ tables:
votable:utype: Char.SpectralAxis.numBins
tap:std: 1
tap:principal: 1
tap:column_index: 340
ivoa:unit:
datatype: long
- name: em_min
Expand All @@ -256,6 +279,7 @@ tables:
votable:utype: Char.SpectralAxis.Coverage.Bounds.Limits.LoLimit
tap:std: 1
tap:principal: 1
tap:column_index: 50
ivoa:unit: m
datatype: double
- name: em_max
Expand All @@ -266,6 +290,7 @@ tables:
votable:utype: Char.SpectralAxis.Coverage.Bounds.Limits.HiLimit
tap:std: 1
tap:principal: 1
tap:column_index: 60
ivoa:unit: m
datatype: double
- name: em_res_power
Expand All @@ -276,6 +301,7 @@ tables:
votable:utype: Char.SpectralAxis.Resolution.ResolPower.refVal
tap:std: 1
tap:principal: 1
tap:column_index: 350
ivoa:unit:
datatype: double
- name: o_ucd
Expand All @@ -286,6 +312,7 @@ tables:
votable:utype: Char.ObservableAxis.ucd
tap:std: 1
tap:principal: 1
tap:column_index: 200
ivoa:unit:
datatype: char
votable:arraysize: 32
Expand All @@ -297,6 +324,7 @@ tables:
votable:utype: Char.PolarizationAxis.numBins
tap:std: 1
tap:principal: 1
tap:column_index: 330
ivoa:unit:
datatype: long
- name: instrument_name
Expand All @@ -307,6 +335,7 @@ tables:
votable:utype: Provenance.ObsConfig.Instrument.name
tap:std: 1
tap:principal: 1
tap:column_index: 220
ivoa:unit:
datatype: char
votable:arraysize: 128
Expand All @@ -318,6 +347,7 @@ tables:
votable:utype:
tap:std: 0
tap:principal: 1
tap:column_index: 90
ivoa:unit:
datatype: long
- name: lsst_detector
Expand All @@ -328,6 +358,7 @@ tables:
votable:utype:
tap:std: 0
tap:principal: 1
tap:column_index: 110
ivoa:unit:
datatype: long
- name: lsst_tract
Expand All @@ -338,6 +369,7 @@ tables:
votable:utype:
tap:std: 0
tap:principal: 1
tap:column_index: 70
ivoa:unit:
datatype: long
- name: lsst_patch
Expand All @@ -347,6 +379,7 @@ tables:
votable:utype:
tap:std: 1
tap:principal: 1
tap:column_index: 80
ivoa:unit:
nullable: true
datatype: long
Expand All @@ -358,6 +391,7 @@ tables:
votable:utype:
tap:std: 0
tap:principal: 1
tap:column_index: 40
ivoa:unit:
datatype: char
length: 10
Expand All @@ -370,6 +404,7 @@ tables:
votable:utype:
tap:std: 0
tap:principal: 1
tap:column_index: 100
ivoa:unit:
datatype: char
length: 10
Expand Down