ECC-1319: clean up

This commit is contained in:
Shahram Najm 2022-01-27 14:55:30 +00:00
parent 3237fdf6c2
commit 94fcfcff1d
1 changed files with 11 additions and 11 deletions

View File

@ -16,7 +16,7 @@ temp=temp.$label.grib
sample_grib2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
lev_types="
typeOfLevels="
surface
tropopause
nominalTop
@ -57,10 +57,10 @@ check_levtype()
}
for lt in $lev_types; do
${tools_dir}/grib_set -s tablesVersion=27,typeOfLevel=$lt $sample_grib2 $temp
ltype=`${tools_dir}/grib_get -p mars.levtype $temp`
check_levtype $ltype
for a_typeOfLevel in $typeOfLevels; do
${tools_dir}/grib_set -s tablesVersion=27,typeOfLevel=$a_typeOfLevel $sample_grib2 $temp
levtype=`${tools_dir}/grib_get -p mars.levtype $temp`
check_levtype $levtype
done