Testing: extend GRIB2 level tests

This commit is contained in:
Shahram Najm 2018-04-18 14:04:23 +01:00
parent 7dae040f47
commit 142bf98ac6
1 changed files with 9 additions and 0 deletions

View File

@ -105,4 +105,13 @@ grib_check_key_equals $temp2 level 5
# EOF
# ${tools_dir}/grib_filter level.filter $sample_g2
# Related to ECC-530: make sure GRIB2 parameters with typeOfSecondFixedSurface
# have correct parameter definitions (grib_set does not cause scale factor/value loss
params="228086 228087 228095 228096 228170 228171 228039 228139"
for pid in $params; do
${tools_dir}/grib_set -s paramId=$pid $sample_g2 $temp
grib_check_key_equals $temp paramId $pid
done
rm -f level.filter temp.level.good test.dump $temp $temp2