Testing: use of 'accuracy' to encode (IEEE)

This commit is contained in:
Shahram Najm 2022-04-26 11:27:46 +01:00
parent 0a54b2a763
commit e4e641d28f
1 changed files with 5 additions and 1 deletions

View File

@ -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
################################## ##################################