Dataset.selectHyperslab
void selectHyperslab(hid_t spaceId, const hsize_t[] start, const hsize_t[] count,
const hsize_t[] stride = null, const hsize_t[] blockSize = null,
H5S_seloper_t op = H5S_seloper_t.SELECT_SET)Selects a hyperslab region in a dataspace for partial I/O.
This is a static helper method that wraps H5Sselect_hyperslab for convenient hyperslab selection on dataspaces.
Parameters
spaceId | Dataspace identifier to modify |
start | Starting coordinates of the hyperslab |
count | Number of blocks in each dimension |
stride | Stride between blocks (optional, null for contiguous) |
blockSize | Size of each block (optional, null for single elements) |
op | Selection operation (default: SET to replace current selection) |
Throws
HDF5Exception if hyperslab selection fails