Dataset.createChunked

Dataset createChunked(hid_t locId, string name, hid_t typeId, hid_t spaceId, const hsize_t[] chunkDims, hid_t lcpl = H5P_DEFAULT, hid_t dapl = H5P_DEFAULT)

Creates a chunked dataset with the specified chunk dimensions.

This is a convenience method that creates the dataset creation property list with chunking enabled internally.

Parameters

locIdLocation identifier (file or group handle)
nameName of the dataset to create
typeIdDatatype identifier
spaceIdDataspace identifier
chunkDimsArray of chunk dimension sizes
lcplLink creation property list (default: H5P_DEFAULT)
daplDataset access property list (default: H5P_DEFAULT)

Returns

A new Dataset instance with chunked storage

Throws

HDF5Exception if dataset creation fails