From e0398e03d8ae5df3e6cdfb8c72124f8d2724af7e Mon Sep 17 00:00:00 2001 From: Matthew Griffith Date: Fri, 8 Mar 2024 09:12:15 +0000 Subject: [PATCH] ECC-1766: Added class ed for testing and implemented the grib.class.def structure. --- definitions/grib2/section.4.def | 3 ++- definitions/mars/class.table | 1 + definitions/mars/grib.ed.def | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 definitions/mars/grib.ed.def diff --git a/definitions/grib2/section.4.def b/definitions/grib2/section.4.def index 512544da4..a966bbc1e 100644 --- a/definitions/grib2/section.4.def +++ b/definitions/grib2/section.4.def @@ -63,7 +63,8 @@ if (productDefinitionTemplateNumber >= 32768) { } if (defined(marsStream) && defined(marsType)) { - template_nofail marsKeywords1 "mars/grib.[marsStream:s].[marsType:s].def"; + template_nofail marsKeywordsByClass "mars/grib.[marsClass:s].def"; + template_nofail marsKeywordsByStreamAndType "mars/grib.[marsStream:s].[marsType:s].def"; } template parameters "grib2/parameters.def"; diff --git a/definitions/mars/class.table b/definitions/mars/class.table index efe2be6b1..bb740e63a 100644 --- a/definitions/mars/class.table +++ b/definitions/mars/class.table @@ -50,6 +50,7 @@ 49 gh C3S Global hydrology 50 ci CERISE project 51 ai Operational AIFS +52 ed EERIE project 99 te Test 100 at Austria 101 be Belgium diff --git a/definitions/mars/grib.ed.def b/definitions/mars/grib.ed.def new file mode 100644 index 000000000..ae4d2b3db --- /dev/null +++ b/definitions/mars/grib.ed.def @@ -0,0 +1,10 @@ +# Class ed EERIE project climate keywords + +codetable[2] activity "grib2/destine_activity.table" : dump; +alias mars.activity = activity; + +codetable[2] experiment "grib2/destine_experiment.table" : dump; +alias mars.experiment = experiment; + +unsigned[1] realization = 255 : dump; +alias mars.realization = realization; \ No newline at end of file