From ec4b10e98aa1ebfda62fa08e7bfaf3a9c2e9530a Mon Sep 17 00:00:00 2001 From: John Parejko Date: Thu, 14 Nov 2024 12:14:39 -0800 Subject: [PATCH] Add nodata flags to apdb and imsim schemas Update version number for new columns. --- python/lsst/sdm_schemas/schemas/apdb.yaml | 14 ++++++++++++-- python/lsst/sdm_schemas/schemas/imsim.yaml | 11 ++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/python/lsst/sdm_schemas/schemas/apdb.yaml b/python/lsst/sdm_schemas/schemas/apdb.yaml index dd87a78f..5e8b93c6 100644 --- a/python/lsst/sdm_schemas/schemas/apdb.yaml +++ b/python/lsst/sdm_schemas/schemas/apdb.yaml @@ -1,7 +1,7 @@ --- name: "ApdbSchema" "@id": "#apdbSchema" -version: "5.0.0" +version: "6.0.0" description: The Alert Production Database (APDB) contains the catalogs resulting from image differencing during nightly Prompt Processing as well as the results of daily Solar System Processing. @@ -2060,7 +2060,17 @@ tables: - name: pixelFlags_edge "@id": "#DiaSource.pixelFlags_edge" datatype: boolean - description: Some of the source footprint is outside usable exposure region (masked EDGE or NO_DATA, or centroid off image). + description: Some of the source footprint is outside usable exposure region (masked EDGE or centroid off image). + fits:tunit: + - name: pixelFlags_nodata + "@id": "#DiaSource.pixelFlags_nodata" + datatype: boolean + description: NO_DATA pixel in the source footprint. + fits:tunit: + - name: pixelFlags_nodataCenter + "@id": "#DiaSource.pixelFlags_nodataCenter" + datatype: boolean + description: NO_DATA pixel in the 3x3 region around the centroid. fits:tunit: - name: pixelFlags_interpolated "@id": "#DiaSource.pixelFlags_interpolated" diff --git a/python/lsst/sdm_schemas/schemas/imsim.yaml b/python/lsst/sdm_schemas/schemas/imsim.yaml index e96b20bc..a698e6a8 100644 --- a/python/lsst/sdm_schemas/schemas/imsim.yaml +++ b/python/lsst/sdm_schemas/schemas/imsim.yaml @@ -8327,8 +8327,17 @@ tables: - name: pixelFlags_edge "@id": "#DiaSource.pixelFlags_edge" datatype: boolean - description: Some of the source footprint is outside usable exposure region (masked EDGE or NO_DATA, or centroid off image). + description: Some of the source footprint is outside usable exposure region (masked EDGE or centroid off image). fits:tunit: + - name: pixelFlags_nodata + "@id": "#DiaSource.pixelFlags_nodata" + datatype: boolean + description: NO_DATA pixel in the source footprint. + fits:tunit: + - name: pixelFlags_nodataCenter + "@id": "#DiaSource.pixelFlags_nodataCenter" + datatype: boolean + description: NO_DATA pixel in the 3x3 region around the centroid. - name: pixelFlags_interpolated "@id": "#DiaSource.pixelFlags_interpolated" datatype: boolean