The H5S_SET_EXTENT_SIMPLE procedure sets or resets the extent of a dataspace.
Syntax
H5S_SET_EXTENT_SIMPLE, Dataspace_id, Dimensions [,MAX_DIMENSIONS=vector]
Arguments
Dataspace_id
An integer giving the dataspace identifier.
Dimensions
An integer array or scalar giving the size of each array dimension. The number of elements in Dimensions defines the number of dimensions in the resulting array datatype.
Note: The values specified in the MAX_DIMENSIONS keyword should be equal to or greater than the corresponding values of the Dimensions argument.
Note: The Dimensions argument should be specified in IDL column-major order. Internally, the dimensions will be reversed to match HDF5/C row-major order.
Keywords
MAX_DIMENSIONS
A vector containing the maximum dimensions for the dataspace. MAX_DIMENSIONS must have the same number of elements as the Dimensions argument. If MAX_DIMENSIONS is omitted then the maximum dimensions are set to Dimensions. You can use a value of -1 in MAX_DIMENSIONS to indicate an unlimited dimension.
Version History
See Also
H5S_CREATE_SIMPLE, H5S_SET_EXTENT_NONE