From 4a1539c5ceaafa297381b85b8e2d2c924a064a75 Mon Sep 17 00:00:00 2001 From: shahramn Date: Tue, 27 Aug 2024 10:54:43 +0100 Subject: [PATCH] ECC-1908: GRIB1: Add new MARS levtype 'abstract levels' --- definitions/grib1/typeOfLevel.def | 2 +- definitions/grib2/template.4.reforecast.def | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/definitions/grib1/typeOfLevel.def b/definitions/grib1/typeOfLevel.def index 1e7219d8e..f5154a706 100644 --- a/definitions/grib1/typeOfLevel.def +++ b/definitions/grib1/typeOfLevel.def @@ -34,5 +34,5 @@ 'depthBelowSea' = {indicatorOfTypeOfLevel=160;} 'entireAtmosphere' = {indicatorOfTypeOfLevel=200;} 'entireOcean' = {indicatorOfTypeOfLevel=201;} -'abstractSingleLevel' = {indicatorOfTypeOfLevel=202;} +'abstractSingleLevel' = {indicatorOfTypeOfLevel=202; level=missing();} 'abstractMultipleLevels' = {indicatorOfTypeOfLevel=203;} diff --git a/definitions/grib2/template.4.reforecast.def b/definitions/grib2/template.4.reforecast.def index a8a431936..15e7c6ec4 100644 --- a/definitions/grib2/template.4.reforecast.def +++ b/definitions/grib2/template.4.reforecast.def @@ -12,5 +12,7 @@ unsigned[1] SecondOfModelVersion = 0: edition_specific; meta modelVersionDate g2date(YearOfModelVersion,MonthOfModelVersion,DayOfModelVersion) : dump; meta modelVersionTime time(HourOfModelVersion, MinuteOfModelVersion, SecondOfModelVersion) : dump; +alias referenceDate = modelVersionDate ; + remove isHindcast; constant isHindcast = 1;