H5S_SELECT_HYPERSLAB

The H5S_SELECT_HYPERSLAB procedure selects a hyperslab region to be included in the selection for a dataspace.

Note: If all of the elements in the selected hyperslab region are already selected, then a new hyperslab region is not created.

Syntax

H5S_SELECT_HYPERSLAB, Dataspace_id, Start, Count, [, BLOCK=vector] [, /RESET] [, STRIDE=vector]

Arguments

Dataspace_id

An integer representing the dataspace’s identifier on which to set the selection.

Start

An m-element vector of integers, where m is the number of dataspace dimensions, containing the starting location for the hyperslab.

Count

An m-element vector of integers containing the number of blocks to select in each dimension.

Keywords

BLOCK

Set this keyword to an m-element vector of integers containing the size of a block. The default is a single element in each dimension (for example BLOCK is set to a vector of all 1's).

RESET

Set this keyword to replace the existing selection with the new selection. The default is RESET=0 which adds the new selection to the existing selection.

STRIDE

Set this keyword to an m-element vector of integers containing the number of elements to move in each dimension when selecting blocks. The default is to move a single element in each dimension (for example STRIDE is set to a vector of all 1's). STRIDE values must be greater than zero.

Version History

5.6

Introduced

See Also

H5S_GET_SELECT_HYPER_BLOCKLIST, H5S_GET_SELECT_HYPER_NBLOCKS, H5S_GET_SELECT_NPOINTS, H5S_SELECT_ELEMENTS