Check if the HDF5 object is a dataspace
b = h5isSpace(obj)
a H5Object
a boolean
Check if an HDF5 object is a dataspace object.
// Create a SOD file which an HDF5 one x = 1:10; save(TMPDIR + "/x.sod", "x"); // Open the file a = h5open(TMPDIR + "/x.sod", "r"); // Test h5isSpace(a) // Test against the dataspace associated to dataset 'x' h5isSpace(a.root.x.dataspace) // We close all h5close(a)