Dataset.getNumChunks

hsize_t getNumChunks(hid_t fspaceId = H5S_ALL)

Gets the number of chunks in a chunked dataset.

Parameters

fspaceIdFile dataspace identifier, or H5S_ALL for all chunks

Returns

The number of chunks

Throws

HDF5Exception if getting the number of chunks fails