From d18cc08955edc19c49a440eb1f31841033b20c16 Mon Sep 17 00:00:00 2001 From: Matthew Griffith Date: Thu, 10 Aug 2023 16:26:50 +0000 Subject: [PATCH] Added definitions of d1 and d2, destine and destine test where they are required. --- definitions/grib2/section.2.def | 6 ++++++ definitions/grib2/section.4.def | 2 ++ definitions/grib2/tables/31/1.3.table | 4 +++- definitions/mars/class.table | 1 + 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/definitions/grib2/section.2.def b/definitions/grib2/section.2.def index f7da1537a..f6081b10b 100644 --- a/definitions/grib2/section.2.def +++ b/definitions/grib2/section.2.def @@ -34,6 +34,12 @@ if ( addEmptySection2 == 0 ) { template crraSection "grib2/local.crra.[crraLocalVersion:l].def"; } + if(productionStatusOfProcessedData == 12 || productionStatusOfProcessedData == 13) { + # destine = Destination Earth + codetable[2] destineLocalVersion 'grib2/destineLocalVersion.table' = 1 : dump; + template destineSection "grib2/local.destine.[destineLocalVersion:l].def"; + } + codetable[2] grib2LocalSectionNumber 'grib2/grib2LocalSectionNumber.[centreForLocal:l].table' = 1 : dump; if (grib2LocalSectionNumber!=0) { diff --git a/definitions/grib2/section.4.def b/definitions/grib2/section.4.def index b62a15329..70f321f19 100644 --- a/definitions/grib2/section.4.def +++ b/definitions/grib2/section.4.def @@ -36,6 +36,8 @@ concept datasetForLocal(unknown) { "uerra" = {productionStatusOfProcessedData=9;} # UERRA "uerra" = {productionStatusOfProcessedData=10;} # CARRA/CERRA "uerra" = {productionStatusOfProcessedData=11;} # CARRA/CERRA + "destine" = {productionStatusOfProcessedData=12;} # DestinE + "destine" = {productionStatusOfProcessedData=13;} # DestinE "unknown" = { dummy=1; } } diff --git a/definitions/grib2/tables/31/1.3.table b/definitions/grib2/tables/31/1.3.table index 5e2e59087..26005a4d0 100644 --- a/definitions/grib2/tables/31/1.3.table +++ b/definitions/grib2/tables/31/1.3.table @@ -11,6 +11,8 @@ 9 9 Uncertainties in Ensembles of Regional ReAnalyses project test (UERRA) 10 10 Copernicus regional reanalysis (CARRA/CERRA) 11 11 Copernicus regional reanalysis test (CARRA/CERRA) -# 12-191 Reserved +12 12 Destination Earth (DestinE) +13 13 Destination Earth test (DestinE) +# 14-191 Reserved # 192-254 Reserved for local use 255 255 Missing diff --git a/definitions/mars/class.table b/definitions/mars/class.table index 6e8a0aa27..303adda1e 100644 --- a/definitions/mars/class.table +++ b/definitions/mars/class.table @@ -45,6 +45,7 @@ 44 gg Greenhouse Gases 45 ml Machine learning 46 d1 Destination Earth +47 d2 Destination Earth Test 99 te Test 100 at Austria 101 be Belgium