mirror of https://github.com/ecmwf/eccodes.git
Testing: Add tests for large constant fields (GRIB1 and GRIBEX mode)
This commit is contained in:
parent
5d7c42617e
commit
c1e85cff6d
|
@ -142,5 +142,12 @@ grib_check_key_equals $temp const,bitsPerValue,section7Length '1 0 5'
|
|||
${tools_dir}/grib_set -s produceLargeConstantFields=1 -d1 $input $temp
|
||||
grib_check_key_equals $temp const,bitsPerValue,section7Length '1 16 997'
|
||||
|
||||
# GRIB1: when GRIBEX mode is enabled, we also get a large constant field
|
||||
input=${data_dir}/simple.grib
|
||||
${tools_dir}/grib_set -d1 $input $temp
|
||||
grib_check_key_equals $temp const,bitsPerValue,section4Length '1 0 12'
|
||||
ECCODES_GRIBEX_MODE_ON=1 ${tools_dir}/grib_set -d1 $input $temp
|
||||
grib_check_key_equals $temp const,bitsPerValue,section4Length '1 12 8966'
|
||||
|
||||
|
||||
rm -f $temp $temp_err
|
||||
|
|
Loading…
Reference in New Issue