Help us improve by taking our short survey: https://www.hdfgroup.org/website-survey/

| HDF5 Last Updated on 2026-07-28 The HDF5 Field Guide

Loading...
Searching...
No Matches
h5s Module Reference
Fortran Dataspace (H5S) Interface

This module contains Fortran interfaces for H5S functions. More...

## Functions/Subroutines
subroutine | h5sclose_f (space_id, hdferr)
| Releases and terminates access to a dataspace.
subroutine | h5scopy_f (space_id, new_space_id, hdferr)
| Creates an exact copy of a dataspace.
subroutine | h5screate_f (classtype, space_id, hdferr)
| Creates a new dataspace of a specified type.
subroutine | h5screate_simple_f (rank, dims, space_id, hdferr, maxdims)
| Creates a new simple data space and opens it for access.
subroutine | h5sdecode_f (buf, obj_id, hdferr)
| Decode a binary object description of data space and return a new object handle.
subroutine | h5sencode_f (obj_id, buf, nalloc, hdferr, fapl_id)
| Encode a data space object description into a binary buffer.
subroutine | h5sextent_copy_f (dest_space_id, source_space_id, hdferr)
| Copies the extent of a dataspace.
subroutine | h5sextent_equal_f (space1_id, space2_id, equal, hdferr)
| Determines whether two dataspace extents are equal.
subroutine | h5sget_regular_hyperslab_f (space_id, start, stride, count, block, hdferr)
| Retrieves a regular hyperslab selection.
subroutine | h5sget_select_bounds_f (space_id, start, end, hdferr)
| Gets the bounding box containing the current selection.
subroutine | h5sget_select_elem_npoints_f (space_id, num_points, hdferr)
| Gets the number of element points in the current selection.
subroutine | h5sget_select_elem_pointlist_f (space_id, startpoint, num_points, buf, hdferr)
| Gets the list of element points currently selected.
subroutine | h5sget_select_hyper_blocklist_f (space_id, startblock, num_blocks, buf, hdferr)
| Gets the list of hyperslab blocks currently selected.
subroutine | h5sget_select_hyper_nblocks_f (space_id, num_blocks, hdferr)
| Get number of hyperslab blocks.
subroutine | h5sget_select_npoints_f (space_id, npoints, hdferr)
| Determines the number of elements in a dataspace selection.
subroutine | h5sget_select_type_f (space_id, type, hdferr)
| Retrieve the type of selection.
subroutine | h5sget_simple_extent_dims_f (space_id, dims, maxdims, hdferr)
| Retrieves dataspace dimension size and maximum size.
subroutine | h5sget_simple_extent_ndims_f (space_id, rank, hdferr)
| Determines the dimensionality of a dataspace.
subroutine | h5sget_simple_extent_npoints_f (space_id, npoints, hdferr)
| Determines the number of elements in a dataspace.
subroutine | h5sget_simple_extent_type_f (space_id, classtype, hdferr)
| Determine the current class of a dataspace.
subroutine | h5sis_regular_hyperslab_f (space_id, isregular, hdferr)
| Retrieves a regular hyperslab selection.
subroutine | h5sis_simple_f (space_id, status, hdferr)
| Determines whether a dataspace is a simple dataspace.
subroutine | h5soffset_simple_f (space_id, offset, hdferr)
| Sets the offset of a simple dataspace.
subroutine | h5ssel_iter_close_f (sel_iter_id, hdferr)
| Closes a dataspace selection iterator.
subroutine | h5ssel_iter_create_f (space_id, elmt_size, flags, ds_iter_id, hdferr)
| Creates a dataspace selection iterator for a dataspace's selection.
subroutine | h5ssel_iter_get_seq_list_f (sel_iter_id, maxseq, maxbytes, nseq, nbytes, off, len, hdferr)
| Retrieves a list of offset / length sequences for the elements in an iterator.
subroutine | h5ssel_iter_reset_f (sel_iter_id, space_id, hdferr)
| Resets a dataspace selection iterator back to an initial state.
subroutine | h5sselect_all_f (space_id, hdferr)
| Selects the entire dataspace.
subroutine | h5sselect_elements_f (space_id, operator, rank, num_elements, coord, hdferr)
| Selects elements to be included in the selection for a dataspace.
subroutine | h5sselect_hyperslab_f (space_id, operator, start, count, hdferr, stride, block)
| Selects a hyperslab region to add to the current selected region.
subroutine | h5sselect_intersect_block_f (space_id, istart, iend, intersects, hdferr)
| Checks if current selection intersects with a block.
subroutine | h5sselect_none_f (space_id, hdferr)
| Resets the selection region to include no elements.
subroutine | h5sselect_shape_same_f (space1_id, space2_id, same, hdferr)
| Checks if two selections are the same shape.
subroutine | h5sselect_valid_f (space_id, status, hdferr)
| Verifies that the selection is within the extent of the dataspace.
subroutine | h5sset_extent_none_f (space_id, hdferr)
| Removes the extent from a dataspace.
subroutine | h5sset_extent_simple_f (space_id, rank, current_size, maximum_size, hdferr)
| Sets or resets the size of an existing dataspace.

## Detailed Description

This module contains Fortran interfaces for H5S functions.