Determines the dimensionality of a dataspace

Procedure:

H5S_GET_SIMPLE_EXTENT_NDIMS ( space_id )

Signature:

<pre><code class="language-c">int H5Sget_simple_extent_ndims(
            hid_t space_id
        )

</code></pre>

<pre><code class="language-fortran">Fortran90 Interface: h5sget_simple_extent_ndims_f
    
SUBROUTINE h5sget_simple_extent_ndims_f(space_id, rank, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id   ! Dataspace identifier 
  INTEGER, INTENT(OUT) :: rank             ! Number of dimensions 
  INTEGER, INTENT(OUT) :: hdferr           ! Error code
                                           ! 0 on success and -1 on failure
END SUBROUTINE h5sget_simple_extent_ndims_f
</code></pre>

Parameters:

hid_t space_id     IN: Identifier of the dataspace

Description:

H5S_GET_SIMPLE_EXTENT_NDIMS determines the dimensionality (or rank) of a dataspace.

Returns:

Returns the number of dimensions in the dataspace if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:

None