From 065ec6e22ce43ed1ca46d2d601deeb367063d8bd Mon Sep 17 00:00:00 2001 From: Howard Bushouse Date: Fri, 7 Jul 2023 20:08:11 -0400 Subject: [PATCH] JP-3302: Add TARGCAT and TARGDESC keywords (#179) --- CHANGES.rst | 12 ++++++++++++ .../jwst/datamodels/schemas/core.schema.yaml | 8 ++++++++ 2 files changed, 20 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index b040086c..fc263f4c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,14 @@ +1.7.1 (unreleased) +================== + +Other +----- + +- Added two new header keywords to the JWST core schema target section: + TARGCAT and TARGDESC, which record the target category and description + as given by the user in the APT. [#179] + + 1.7.0 (2023-06-29) ================== @@ -12,6 +23,7 @@ Other - Add OIFITS compatible schema and ``AmiOIModel`` [#174] + 1.6.0 (2023-06-15) ================== diff --git a/src/stdatamodels/jwst/datamodels/schemas/core.schema.yaml b/src/stdatamodels/jwst/datamodels/schemas/core.schema.yaml index 3d923a6d..58f857e9 100644 --- a/src/stdatamodels/jwst/datamodels/schemas/core.schema.yaml +++ b/src/stdatamodels/jwst/datamodels/schemas/core.schema.yaml @@ -333,6 +333,14 @@ properties: type: string fits_keyword: TARGTYPE blend_table: True + category: + title: Target category from APT + type: string + fits_keyword: TARGCAT + description: + title: Target description from APT + type: string + fits_keyword: TARGDESC ra: title: Target RA at mid time of exposure type: number