From 4c6d7b9e1c00bbb421f367548fc387c7f68823ff Mon Sep 17 00:00:00 2001 From: Kian-Tat Lim Date: Tue, 25 Jun 2024 13:54:37 -0700 Subject: [PATCH] Change datatype for vignette fields. --- yml/cdb_latiss.yaml | 20 ++++++++++++-------- yml/cdb_lsstcomcam.yaml | 20 ++++++++++++-------- yml/cdb_lsstcomcamsim.yaml | 20 ++++++++++++-------- 3 files changed, 36 insertions(+), 24 deletions(-) diff --git a/yml/cdb_latiss.yaml b/yml/cdb_latiss.yaml index 073f424d..d219bac7 100644 --- a/yml/cdb_latiss.yaml +++ b/yml/cdb_latiss.yaml @@ -282,12 +282,14 @@ tables: description: Were any control system components simulated? - name: vignette "@id": "#exposure.vignette" - datatype: int - description: "Instrument blocked from the sky: Unknown = 0, No = 1, Partially = 2, Fully = 3." + datatype: string + length: 10 + description: "Instrument blocked from the sky: UNKNOWN, NO, PARTIALLY, FULLY." - name: vignette_min "@id": "#exposure.vignette_min" - datatype: int - description: Minimum value of vignette during the exposure. + datatype: string + length: 10 + description: "Lowest amount of instrument vignetting detected during the exposure: UNKNOWN, NO, PARTIALLY, FULLY." - name: s_region "@id": "#exposure.s_region" datatype: string @@ -760,12 +762,14 @@ tables: description: Were any control system components simulated? - name: vignette "@id": "#visit1.vignette" - datatype: int - description: "Instrument blocked from the sky: Unknown = 0, No = 1, Partially = 2, Fully = 3." + datatype: string + length: 10 + description: "Instrument blocked from the sky: UNKNOWN, NO, PARTIALLY, FULLY." - name: vignette_min "@id": "#visit1.vignette_min" - datatype: int - description: Minimum value of vignette during the exposure. + datatype: string + length: 10 + description: "Lowest amount of instrument vignetting detected during the visit: UNKNOWN, NO, PARTIALLY, FULLY." - name: s_region "@id": "#visit1.s_region" datatype: string diff --git a/yml/cdb_lsstcomcam.yaml b/yml/cdb_lsstcomcam.yaml index e56d6f6f..990fce10 100644 --- a/yml/cdb_lsstcomcam.yaml +++ b/yml/cdb_lsstcomcam.yaml @@ -270,12 +270,14 @@ tables: description: Were any control system components simulated? - name: vignette "@id": "#exposure.vignette" - datatype: int - description: "Instrument blocked from the sky: Unknown = 0, No = 1, Partially = 2, Fully = 3." + datatype: string + length: 10 + description: "Instrument blocked from the sky: UNKNOWN, NO, PARTIALLY, FULLY." - name: vignette_min "@id": "#exposure.vignette_min" - datatype: int - description: Minimum value of vignette during the exposure. + datatype: string + length: 10 + description: "Lowest amount of instrument vignetting detected during the exposure: UNKNOWN, NO, PARTIALLY, FULLY." - name: s_region "@id": "#exposure.s_region" datatype: string @@ -740,12 +742,14 @@ tables: description: Were any control system components simulated? - name: vignette "@id": "#visit1.vignette" - datatype: int - description: "Instrument blocked from the sky: Unknown = 0, No = 1, Partially = 2, Fully = 3." + datatype: string + length: 10 + description: "Instrument blocked from the sky: UNKNOWN, NO, PARTIALLY, FULLY." - name: vignette_min "@id": "#visit1.vignette_min" - datatype: int - description: Minimum value of vignette during the exposure. + datatype: string + length: 10 + description: "Lowest amount of instrument vignetting detected during the visit: UNKNOWN, NO, PARTIALLY, FULLY." - name: s_region "@id": "#visit1.s_region" datatype: string diff --git a/yml/cdb_lsstcomcamsim.yaml b/yml/cdb_lsstcomcamsim.yaml index 7bf4b152..8a012824 100644 --- a/yml/cdb_lsstcomcamsim.yaml +++ b/yml/cdb_lsstcomcamsim.yaml @@ -270,12 +270,14 @@ tables: description: Were any control system components simulated? - name: vignette "@id": "#exposure.vignette" - datatype: int - description: "Instrument blocked from the sky: Unknown = 0, No = 1, Partially = 2, Fully = 3." + datatype: string + length: 10 + description: "Instrument blocked from the sky: UNKNOWN, NO, PARTIALLY, FULLY." - name: vignette_min "@id": "#exposure.vignette_min" - datatype: int - description: Minimum value of vignette during the exposure. + datatype: string + length: 10 + description: "Lowest amount of instrument vignetting detected during the exposure: UNKNOWN, NO, PARTIALLY, FULLY." - name: s_region "@id": "#exposure.s_region" datatype: string @@ -740,12 +742,14 @@ tables: description: Were any control system components simulated? - name: vignette "@id": "#visit1.vignette" - datatype: int - description: "Instrument blocked from the sky: Unknown = 0, No = 1, Partially = 2, Fully = 3." + datatype: string + length: 10 + description: "Instrument blocked from the sky: UNKNOWN, NO, PARTIALLY, FULLY." - name: vignette_min "@id": "#visit1.vignette_min" - datatype: int - description: Minimum value of vignette during the visit. + datatype: string + length: 10 + description: "Lowest amount of instrument vignetting detected during the visit: UNKNOWN, NO, PARTIALLY, FULLY." - name: s_region "@id": "#visit1.s_region" datatype: string