mirror of https://github.com/ecmwf/eccodes.git
Testing: extend GRIB2 level tests
This commit is contained in:
parent
7dae040f47
commit
142bf98ac6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue