Testing: Secondary bitmaps (GRIB2)

This commit is contained in:
Shahram Najm 2023-12-27 16:18:10 +00:00
parent b442065995
commit 6bcaa6d09a
1 changed files with 3 additions and 1 deletions

View File

@ -23,10 +23,12 @@ grib_check_key_equals $input bitmapPresent 1
${tools_dir}/grib_set -s packingType=grid_simple_matrix,NC=1,NR=1 $input $tempGribA
${tools_dir}/grib_set -s matrixBitmapsPresent=1 $tempGribA $tempGribB
${tools_dir}/grib_dump -O $tempGribB
${tools_dir}/grib_dump -Dat $tempGribB
# Call pack_double
# Call pack_double and unpack_double
cat >$tempFilt<<EOF
set values = {0, 1, 9999};
print "[bitmap]";
EOF
${tools_dir}/grib_filter $tempFilt $tempGribB