From e44c395356ca04a4a95495eba6ed0c82c71a4fed Mon Sep 17 00:00:00 2001 From: shahramn Date: Thu, 22 Aug 2024 17:32:48 +0100 Subject: [PATCH] ECC-1908: GRIB1: Add new MARS levtype 'abstract levels' --- definitions/grib1/local/ecmf/3.table | 2 ++ definitions/grib1/section.1.def | 3 ++- definitions/grib1/typeOfLevel.def | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/definitions/grib1/local/ecmf/3.table b/definitions/grib1/local/ecmf/3.table index 767213f12..fb5b07081 100644 --- a/definitions/grib1/local/ecmf/3.table +++ b/definitions/grib1/local/ecmf/3.table @@ -45,6 +45,8 @@ # 161-199Reserved 200 sfc Entire atmosphere considered as a single layer 0 (2 octets) 201 201 Entire ocean considered as a single layer 0 (2 octets) +202 al Abstract Single Level +203 al Abstract Multiple Level # 202-209 Reserved 210 pl Isobaric surface (Pa) (ECMWF extension) # 211-254 Reserved for local use diff --git a/definitions/grib1/section.1.def b/definitions/grib1/section.1.def index d62300f27..51b3d5b4f 100644 --- a/definitions/grib1/section.1.def +++ b/definitions/grib1/section.1.def @@ -105,7 +105,8 @@ if( indicatorOfTypeOfLevel == 109 || indicatorOfTypeOfLevel == 100 || indicatorOfTypeOfLevel == 110 || indicatorOfTypeOfLevel == 113 || - indicatorOfTypeOfLevel == 117) + indicatorOfTypeOfLevel == 117 || + indicatorOfTypeOfLevel == 203) { alias mars.levelist = level; } diff --git a/definitions/grib1/typeOfLevel.def b/definitions/grib1/typeOfLevel.def index ccf74d5be..1e7219d8e 100644 --- a/definitions/grib1/typeOfLevel.def +++ b/definitions/grib1/typeOfLevel.def @@ -34,3 +34,5 @@ 'depthBelowSea' = {indicatorOfTypeOfLevel=160;} 'entireAtmosphere' = {indicatorOfTypeOfLevel=200;} 'entireOcean' = {indicatorOfTypeOfLevel=201;} +'abstractSingleLevel' = {indicatorOfTypeOfLevel=202;} +'abstractMultipleLevels' = {indicatorOfTypeOfLevel=203;}