Resizing Dataset Dimensions
Function Syntax
Change the sizes of a dataset's dimensions.
herr_t H5Dset_extent(hid_t datasetId, const hsize_t dims[])
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
datasetId |
Dataset identifier |
Integer |
Input |
dims[] |
Array containing the new extents of each dimension of the dataset |
Non-empty |
Input |
Return Value
- Success: non-negative value
- Failure: negative value
Parent topic: Dataset APIs