Skip to content

h5write

builtin · libnexusinterp/corefcn/h5-native-proprietary.cc

: h5write (filename, datasetname, data)
: h5write (filename, datasetname, data, start, count)
: h5write (filename, datasetname, data, start, count, stride)

Write data to the existing HDF5 dataset datasetname of the file filename. start, count and stride select a hyperslab, one element per dimension, with 1-based start. Datasets with unlimited dimensions are extended when the selection reaches beyond their current size. Compound datasets accept a scalar struct whose fields match the compound members (same layout as h5read returns).