mirror of https://github.com/ecmwf/eccodes.git
ECC-1352: GRIB CCSDS packing: Add extra tests (Part 2)
This commit is contained in:
parent
21567d2876
commit
6d909751a4
|
@ -94,6 +94,16 @@ grib_check_key_equals $outfile1 packingType grid_ccsds
|
|||
${tools_dir}/grib_set -r -s packingType=grid_simple $infile $outfile2
|
||||
${tools_dir}/grib_compare -c data:n $outfile1 $outfile2
|
||||
|
||||
# ECC-1352: Additional tests for bitsPerValue
|
||||
# --------------------------------------------
|
||||
infile=${data_dir}/sample.grib2
|
||||
${tools_dir}/grib_set -r -s setBitsPerValue=16,packingType=grid_ccsds $infile $outfile1
|
||||
${tools_dir}/grib_set -r -s setBitsPerValue=24,packingType=grid_ccsds $infile $outfile2
|
||||
grib_check_key_equals $outfile1 packingType grid_ccsds
|
||||
grib_check_key_equals $outfile2 packingType grid_ccsds
|
||||
${tools_dir}/grib_compare -b $BLACKLIST $infile $outfile1
|
||||
${tools_dir}/grib_compare -c data:n $outfile1 $outfile2
|
||||
|
||||
|
||||
# Clean up
|
||||
rm -f $outfile1 $outfile2
|
||||
|
|
Loading…
Reference in New Issue