mirror of https://github.com/ecmwf/eccodes.git
Testing: use of 'accuracy' to encode (IEEE)
This commit is contained in:
parent
0a54b2a763
commit
e4e641d28f
|
@ -175,8 +175,12 @@ stats1=`${tools_dir}/grib_get -M -F%.3f -p skew,kurt $infile`
|
||||||
stats2=`${tools_dir}/grib_get -M -F%.3f -p skew,kurt $temp`
|
stats2=`${tools_dir}/grib_get -M -F%.3f -p skew,kurt $temp`
|
||||||
[ "$stats1" = "$stats2" ]
|
[ "$stats1" = "$stats2" ]
|
||||||
|
|
||||||
|
# The same thing but use 'accuracy' instead of 'precision'
|
||||||
|
temp2=temp2.grib_ieee.grib
|
||||||
|
${tools_dir}/grib_set -r -s accuracy=64 $infile $temp2
|
||||||
|
cmp $temp $temp2
|
||||||
|
|
||||||
|
rm -f $temp2
|
||||||
rm -f $temp
|
rm -f $temp
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
|
|
Loading…
Reference in New Issue