From 6ae9de2ae0949107d93d9c6993dc3b19aba97e5a Mon Sep 17 00:00:00 2001 From: fred3m Date: Wed, 27 Sep 2023 10:09:22 -0700 Subject: [PATCH] Add data coverage columns to imsim schema. --- yml/hsc.yaml | 20 ++++++++++---------- yml/imsim.yaml | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 10 deletions(-) diff --git a/yml/hsc.yaml b/yml/hsc.yaml index b7f46e8e..4a3ab17b 100644 --- a/yml/hsc.yaml +++ b/yml/hsc.yaml @@ -1208,9 +1208,9 @@ tables: fits:tunit: deg^2 - name: g_dataCoverage "@id": "#Object.dataCoverage" - datatype: double + datatype: float description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the g-band. - mysql:datatype: DOUBLE + mysql:datatype: FLOAT fits:tunit: - name: i_ap03Flux "@id": "#Object.i_ap03Flux" @@ -2199,9 +2199,9 @@ tables: fits:tunit: deg^2 - name: i_dataCoverage "@id": "#Object.dataCoverage" - datatype: double + datatype: float description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the i-band. - mysql:datatype: DOUBLE + mysql:datatype: FLOAT fits:tunit: - name: r_ap03Flux "@id": "#Object.r_ap03Flux" @@ -3190,9 +3190,9 @@ tables: fits:tunit: deg^2 - name: r_dataCoverage "@id": "#Object.dataCoverage" - datatype: double + datatype: float description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the r-band. - mysql:datatype: DOUBLE + mysql:datatype: FLOAT fits:tunit: - name: y_ap03Flux "@id": "#Object.y_ap03Flux" @@ -4181,9 +4181,9 @@ tables: fits:tunit: deg^2 - name: y_dataCoverage "@id": "#Object.dataCoverage" - datatype: double + datatype: float description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the y-band. - mysql:datatype: DOUBLE + mysql:datatype: FLOAT fits:tunit: - name: z_ap03Flux "@id": "#Object.z_ap03Flux" @@ -5172,9 +5172,9 @@ tables: fits:tunit: deg^2 - name: z_dataCoverage "@id": "#Object.dataCoverage" - datatype: double + datatype: float description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the z-band. - mysql:datatype: DOUBLE + mysql:datatype: FLOAT fits:tunit: - name: Source diff --git a/yml/imsim.yaml b/yml/imsim.yaml index d22436ee..f6a3d45a 100644 --- a/yml/imsim.yaml +++ b/yml/imsim.yaml @@ -54,6 +54,12 @@ tables: mysql:datatype: FLOAT fits:tunit: deg^2 ivoa:ucd: pos.eq.ra_dec_Cov;meta.main + - name: deblend_incompleteData + "@id": "#Object.deblend_incompleteData" + datatype: boolean + description: One or more bands were not deblended due to an inability to model the PSF. + mysql:datatype: BOOLEAN + fits:tunit: - name: deblend_nChild "@id": "#Object.deblend_nChild" datatype: int @@ -1213,6 +1219,12 @@ tables: mysql:datatype: FLOAT fits:tunit: deg^2 ivoa:ucd: pos.eq.ra_dec_Cov + - name: g_dataCoverage + "@id": "#Object.dataCoverage" + datatype: float + description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the g-band. + mysql:datatype: FLOAT + fits:tunit: - name: i_ap03Flux "@id": "#Object.i_ap03Flux" datatype: double @@ -2203,6 +2215,12 @@ tables: mysql:datatype: FLOAT fits:tunit: deg^2 ivoa:ucd: pos.eq.ra_dec_Cov + - name: i_dataCoverage + "@id": "#Object.dataCoverage" + datatype: float + description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the i-band. + mysql:datatype: FLOAT + fits:tunit: - name: r_ap03Flux "@id": "#Object.r_ap03Flux" datatype: double @@ -3193,6 +3211,12 @@ tables: mysql:datatype: FLOAT fits:tunit: deg^2 ivoa:ucd: pos.eq.ra_dec_Cov + - name: r_dataCoverage + "@id": "#Object.dataCoverage" + datatype: float + description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the r-band. + mysql:datatype: FLOAT + fits:tunit: - name: u_ap03Flux "@id": "#Object.u_ap03Flux" datatype: double @@ -4183,6 +4207,12 @@ tables: mysql:datatype: FLOAT fits:tunit: deg^2 ivoa:ucd: pos.eq.ra_dec_Cov + - name: u_dataCoverage + "@id": "#Object.dataCoverage" + datatype: float + description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the u-band. + mysql:datatype: FLOAT + fits:tunit: - name: y_ap03Flux "@id": "#Object.y_ap03Flux" datatype: double @@ -5173,6 +5203,12 @@ tables: mysql:datatype: FLOAT fits:tunit: deg^2 ivoa:ucd: pos.eq.ra_dec_Cov + - name: y_dataCoverage + "@id": "#Object.dataCoverage" + datatype: float + description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the y-band. + mysql:datatype: FLOAT + fits:tunit: - name: z_ap03Flux "@id": "#Object.z_ap03Flux" datatype: double @@ -6163,6 +6199,12 @@ tables: mysql:datatype: FLOAT fits:tunit: deg^2 ivoa:ucd: pos.eq.ra_dec_Cov + - name: z_dataCoverage + "@id": "#Object.dataCoverage" + datatype: float + description: Fraction of data that contained good data, ie. 1 - number of no data pixels/total number of pixels in the z-band. + mysql:datatype: FLOAT + fits:tunit: - name: Source