Data space rank
output = H5S.get_simple_extent_ndims(space_id)
output = H5S.get_simple_extent_ndims(space_id) returns the dimensionality (also called the rank) of a data space.