Testing: Check typeOfLevel=abstractLevel

This commit is contained in:
Shahram Najm 2024-10-17 10:15:37 +00:00
parent c7684fe80c
commit 7874c9aa67
1 changed files with 6 additions and 0 deletions

View File

@ -59,5 +59,11 @@ ${tools_dir}/grib_set -s productDefinitionTemplateNumber=1 $tempGribA $tempGribB
grib_check_key_equals $tempGribB typeOfLevel,productDefinitionTemplateNumber 'unknown 1' grib_check_key_equals $tempGribB typeOfLevel,productDefinitionTemplateNumber 'unknown 1'
# ECC-1847: Fix case when input has typeOfLevel=unknown
# In definitions/grib2/typeOfLevelConcept.def, make sure we map 'unknown' correctly (transient dummyc)
${tools_dir}/grib_set -s centre=ecmf,typeOfFirstFixedSurface=254 $sample_g2 $tempGribA
grib_check_key_equals $tempGribA typeOfLevel abstractLevel
# Clean up # Clean up
rm -f $tempText $tempGribA $tempGribB rm -f $tempText $tempGribA $tempGribB