Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5D_GET_NUM_CHUNKS

Retrieves number of chunks that have nonempty intersection with a specified selection

Procedure:

H5D_GET_NUM_CHUNKS (dset_id, fspace_id, nchunks)

Signature:

herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)

Parameters:

hid_t dset_id    

IN: Dataset identifier

hid_t fspace_id

IN: File dataspace selection identifier; H5S_ALL if the selection is the current extent of the dataset (See NOTE below)

hsize_t * nchunks

IN/OUT: Number of chunks in the selection

 

Description:

H5D_GET_NUM_CHUNKS retrieves the number of chunks nchunks in a set of selected elements specified by fspace_id for a dataset specified by the identifier dset_id. If fspace_id is H5S_ALL, the function will retrieve the total number of chunks stored for the dataset.

NOTE: Please be aware that in the HDF5-1.10.5 release, the dataspace intersection was not yet completed. With this version the number of written chunks will be returned.

Returns:

Returns a non-negative value if successful. Otherwise returns a negative value.

Example:

Coming Soon!

History:
ReleaseChange
1.10.5C function introduced

--- Last Modified: January 17, 2019 | 11:23 AM