From 63edd0da9977e97eab1e908bb179eb4239daec90 Mon Sep 17 00:00:00 2001 From: schroeder5 <s.schroeder@fz-juelich.de> Date: Mon, 29 Jun 2020 18:23:28 +0200 Subject: [PATCH] added controlled vocabulary for 'measuerment method' --- .../toar_controlled_vocabulary--0.1.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql b/extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql index 9e1b194..649864b 100644 --- a/extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql +++ b/extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql @@ -287,6 +287,19 @@ INSERT INTO DL_vocabulary (enum_val, enum_str, enum_display_str) VALUES ( 16, 'Barren', '16 (Barren or sparsely vegetated)'), (255, 'Fill', '255 (Fill Value/Unclassified)'); +-- Measurement Methods + +CREATE TABLE IF NOT EXISTS MM_vocabulary ( + enum_val INT NOT NULL, + enum_str character varying(128) NOT NULL, + enum_display_str character varying(128) NOT NULL, + PRIMARY KEY(enum_val, enum_str) +); + +INSERT INTO MM_vocabulary (enum_val, enum_str, enum_display_str) VALUES + (0, 'UVAbsorption', 'UV absorption'), + (1, 'UnknownInstrument', 'unknown instrument'); + -- Result Types CREATE TABLE IF NOT EXISTS RT_vocabulary ( -- GitLab