Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5P_GET_CHUNK

Retrieves the size of chunks for the raw data of a chunked layout dataset

Procedure:

H5P_GET_CHUNK ( plist, max_ndims, dims )

Signature:

int H5Pget_chunk(hid_t plist,
            int max_ndims,
            hsize_t * dims
        )
  

Fortran90 Interface: h5pget_chunk_f
    
SUBROUTINE h5pget_chunk_f(prp_id, ndims, dims, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: prp_id  ! Property list identifier 
  INTEGER, INTENT(IN) :: ndims          ! Number of chunk dimensions 
                                        ! to return
  INTEGER(HSIZE_T), DIMENSION(ndims), INTENT(OUT) :: dims    
                                        ! Array containing sizes of
                                        ! chunk dimensions
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
                                        ! chunk rank on success 
                                        ! and -1 on failure
END SUBROUTINE h5pget_chunk_f
	

Parameters:
hid_t plistIN: Identifier of property list to query
int max_ndims    IN: Size of the dims array
hsize_t * dimsOUT: Array to store the chunk dimensions

Description:

H5P_GET_CHUNK retrieves the size of chunks for the raw data of a chunked layout dataset. This function is only valid for dataset creation property lists. At most, max_ndims elements of dims will be initialized.

Returns:

Returns chunk dimensionality if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:

 

--- Last Modified: August 06, 2019 | 02:12 PM