hdfview
hdfview copied to clipboard
NULL data space dataset is displayed as a scalar dataset
The attached file has a dataset with NULL data space. The HDFView 3.3.0 displays it as a scalar dataset. See the attached screenshot. Here is the h5dump output.
h5dump -H dim_scale_null_space.h5
HDF5 "dim_scale_null_space.h5" {
GROUP "/" {
DATASET "x" {
DATATYPE H5T_STD_I32LE
DATASPACE NULL
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}