Testing: grid_second_order_constant_width

This commit is contained in:
Shahram Najm 2023-09-03 13:07:46 +01:00
parent 94026eb80b
commit 56d6a410b2
1 changed files with 5 additions and 1 deletions

View File

@ -186,7 +186,7 @@ unset ECCODES_GRIBEX_BOUSTROPHEDONIC
# data_g1second_order_constant_width_packing # data_g1second_order_constant_width_packing
# ------------------------------------------ # ------------------------------------------
input=second_ord_rbr.grib1 input=second_ord_rbr.grib1
${tools_dir}/grib_set -s secondOrderOfDifferentWidth=0,secondaryBitmapPresent=1 $input $temp1 ${tools_dir}/grib_set -s Ni=2,Nj=74,secondOrderOfDifferentWidth=0,secondaryBitmapPresent=1 $input $temp1
grib_check_key_equals $temp1 packingType grid_second_order_constant_width grib_check_key_equals $temp1 packingType grid_second_order_constant_width
${tools_dir}/grib_dump -O $temp1 > $REDIRECT ${tools_dir}/grib_dump -O $temp1 > $REDIRECT
set +e set +e
@ -196,6 +196,10 @@ set -e
[ $status -ne 0 ] [ $status -ne 0 ]
grep -q "Not implemented" $tempText grep -q "Not implemented" $tempText
${tools_dir}/grib_get_data $temp1 > $REDIRECT
${tools_dir}/grib_ls -l46,1 $temp1 > $REDIRECT
${tools_dir}/grib_ls -j -l46,1,1 $temp1 > $REDIRECT
# Clean up # Clean up
rm -f $temp_stat1 $temp_stat2 rm -f $temp_stat1 $temp_stat2