mirror of https://github.com/ecmwf/eccodes.git
Simple packing: corner case of bpv>0 for a constant field
This commit is contained in:
parent
a9b36b4ec4
commit
843adb1e42
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue