Testing: Constant fields and 2nd order packing

This commit is contained in:
Shahram Najm 2023-02-23 20:37:29 +00:00
parent 98ddb38ce1
commit cdba8c8e38
1 changed files with 8 additions and 0 deletions

View File

@ -169,6 +169,14 @@ grib_check_key_equals $infile packingType grid_second_order
${tools_dir}/grib_set -d1 $infile $temp1 ${tools_dir}/grib_set -d1 $infile $temp1
grib_check_key_equals $temp1 packingType grid_simple grib_check_key_equals $temp1 packingType grid_simple
infile=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
${tools_dir}/grib_set -r -s packingType=grid_second_order $infile $temp1
grib_check_key_equals $temp1 packingType grid_simple
infile=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
${tools_dir}/grib_set -r -s packingType=grid_second_order $infile $temp1
grib_check_key_equals $temp1 packingType grid_simple
# Clean up # Clean up
rm -f $temp_stat1 $temp_stat2 rm -f $temp_stat1 $temp_stat2