diff --git a/tests/grib_bitsPerValue.sh b/tests/grib_bitsPerValue.sh index 8b38192f8..8ed5f5416 100755 --- a/tests/grib_bitsPerValue.sh +++ b/tests/grib_bitsPerValue.sh @@ -132,3 +132,12 @@ for bpv in `seq 17 $MAX_BPV`; do [ "$stats1" = "$stats2" ] rm -f $temp done + +# Cater for case of constant field with bitsPerValue > 0 +# TODO: This is a crazy case - still not sure if we should cater for it +#sample2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl +#${tools_dir}/grib_set -s bitsPerValue=16 $sample2 $temp +#minmax=`${tools_dir}/grib_get -p min,max $temp` +#[ "$minmax" = "1 1" ] + +rm -f $temp