mirror of https://github.com/ecmwf/eccodes.git
Testing: ECC-1926 conversion
This commit is contained in:
parent
db04edbb90
commit
0fd34ba32b
|
@ -93,9 +93,14 @@ cat >$tempFilt<<EOF
|
|||
EOF
|
||||
input=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
|
||||
${tools_dir}/grib_filter -o $temp1 $tempFilt $input
|
||||
grib_check_key_equals $temp1 packingType,isConstant 'grid_complex_spatial_differencing 1'
|
||||
stats1=`${tools_dir}/grib_get -M -F%.0f -n statistics $input`
|
||||
stats2=`${tools_dir}/grib_get -M -F%.0f -n statistics $temp1`
|
||||
[ "$stats1" = "$stats2" ]
|
||||
${tools_dir}/grib_set -rs packingType=grid_simple $temp1 $temp2
|
||||
grib_check_key_equals $temp2 packingType,isConstant 'grid_simple 1'
|
||||
${tools_dir}/grib_compare -b totalLength,section5Length,dataRepresentationTemplateNumber $temp2 $temp1
|
||||
|
||||
|
||||
# Decode as string - Null op
|
||||
cat >$tempFilt<<EOF
|
||||
|
|
Loading…
Reference in New Issue