When unpacking data, if a bitmap is present and to be applied to the data, the bitmap data are unpacked inside the function but not stored in a Grib2Message attribute. There are cases where a user would like to have access to the bitmap.
The returned bitmap data from g2c's g2_unpack6() from grib2io's cython wrapper is np.int64. We would want to store the bitmap in a smaller data type, most likely np.int8.
When unpacking data, if a bitmap is present and to be applied to the data, the bitmap data are unpacked inside the function but not stored in a Grib2Message attribute. There are cases where a user would like to have access to the bitmap.
The returned bitmap data from g2c's g2_unpack6() from grib2io's cython wrapper is
np.int64
. We would want to store the bitmap in a smaller data type, most likelynp.int8
.