From 9f883b6ef10dc30df00218dd160ab1dce65656e9 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 16 Nov 2017 11:49:39 +0000 Subject: [PATCH] GRIB3: level test --- tests/grib3_templates.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/grib3_templates.sh b/tests/grib3_templates.sh index 902710d07..8b3bcc427 100755 --- a/tests/grib3_templates.sh +++ b/tests/grib3_templates.sh @@ -37,6 +37,8 @@ res=`${tools_dir}/grib_get -M -p angleOfRotation,stretchingFactorScaled $temp2` # Section 5 templates: Vertical Domain # ----------------------------------------- ${tools_dir}/grib_set -M -s verticalDomainTemplateNumber=1 $temp1 $temp2 +res=`${tools_dir}/grib_get -M -p level,scaleFactorOfFirstFixedSurface,scaledValueOfFirstFixedSurface $temp2` +[ "$res" = "500 0 50000" ] res=`${tools_dir}/grib_get -M -p scaleFactorOfFirstFixedSurface,scaleFactorOfSecondFixedSurface $temp2` [ "$res" = "0 MISSING" ]