The H5S_CREATE_SIMPLE function creates a simple dataspace.

Syntax


Result = H5S_CREATE_SIMPLE(Dimensions [, MAX_DIMENSIONS=vector] )

Return Value


Returns the dataspace’s identifier number. This dataspace identifier can be released with the H5S_CLOSE.

Arguments


Dimensions

Set this argument to a vector containing the dimensions for the dataspace.

Note: The Dimensions argument should be specified in IDL’s column-major order. Internally, the dimensions will be reversed to match HDF5/C’s row-major order.

Keywords


MAX_DIMENSIONS

Set this keyword to a vector containing the maximum dimensions for the dataspace. The 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.

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 MAX_DIMENSIONS keyword should be specified in IDL’s column-major order. Internally, the dimensions will be reversed to match HDF5/C’s row-major order.

Version History


5.6

Introduced

See Also


H5S_CLOSE, H5S_COPY