mirror of https://github.com/ecmwf/eccodes.git
Testing: Secondary bitmaps (GRIB2)
This commit is contained in:
parent
b442065995
commit
6bcaa6d09a
|
@ -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 packingType=grid_simple_matrix,NC=1,NR=1 $input $tempGribA
|
||||||
${tools_dir}/grib_set -s matrixBitmapsPresent=1 $tempGribA $tempGribB
|
${tools_dir}/grib_set -s matrixBitmapsPresent=1 $tempGribA $tempGribB
|
||||||
${tools_dir}/grib_dump -O $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
|
cat >$tempFilt<<EOF
|
||||||
set values = {0, 1, 9999};
|
set values = {0, 1, 9999};
|
||||||
|
print "[bitmap]";
|
||||||
EOF
|
EOF
|
||||||
${tools_dir}/grib_filter $tempFilt $tempGribB
|
${tools_dir}/grib_filter $tempFilt $tempGribB
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue