GRIB3: level test

This commit is contained in:
Shahram Najm 2017-11-16 11:49:39 +00:00
parent ab26f3ebcd
commit 9f883b6ef1
1 changed files with 2 additions and 0 deletions

View File

@ -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" ]