HDFGroup / hdf-compass

Python-based viewer for HDF5 on other file formats
Other
131 stars 26 forks source link

H5T_NATIVE_B8 dataset shows up empty #206

Open DavidAce opened 4 years ago

DavidAce commented 4 years ago

Writing a normal 1-byte bool into a dataset of type H5T_NATIVE_B8 shows up empty in HDF Compass, even though the data is there and can be read back, or viewed with h5dump. See the top window on the attached screenshot. Cheers!

hdfcompass_bool_crop

15 min later: I just realized that the "B" in H5T_NATIVE_B8 stands for bitfield and not bool. In fact H5T_NATIVE_UINT8 does show up and fixes my immediate problem. In any case, the file using H5T_NATIVE_B8 seems well formed and the dataset not showing up could be a bug.