Testing: signed_bits

This commit is contained in:
Shahram Najm 2024-02-18 14:09:35 +00:00
parent f621986f9f
commit 2535d2ec0c
1 changed files with 12 additions and 0 deletions

View File

@ -467,6 +467,18 @@ set -e
[ $status -ne 0 ]
grep -q "Unable to open file" $tempOut
# Signed bits
# -----------
cat >$tempFilt <<EOF
meta _sb signed_bits(widthOfWidths, numberOfGroups);
print "[_sb]";
EOF
set +e
${tools_dir}/grib_filter $tempFilt $data_dir/boustrophedonic.grib1 > $tempOut 2>&1
status=$?
set -e
[ $status -ne 0 ]
# Setting step
# -------------