Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5LT_GET_DATASET_INFO

H5LTget_dataset_info gets information about a dataset named dset_name exists attached to the object loc_id.

Procedure:

H5LT_GET_DATASET_INFO(loc_id, dset_name, dims, class_id, type_size)

Signature:

herr_t H5LTget_dataset_info ( hid_t loc_id, const char *dset_name, hsize_t *dims, H5T_class_t *class_id, size_t *type_size )

subroutine h5ltget_dataset_info_f(loc_id, dset_name, dims, type_class, &
                                  type_size, errcode)
  implicit none
  integer(HID_T), intent(IN) :: loc_id           ! file or group identifier 
  character(LEN=*), intent(IN) :: dset_name      ! name of the dataset 
  integer(HSIZE_T),dimension(*),intent(INOUT):: dims 
                                                 ! dimensions 
  integer, intent(INOUT)         :: type_class   ! type class
  integer(SIZE_T), intent(INOUT) :: type_size    ! type size
  integer :: errcode                             ! error code
end subroutine h5ltget_dataset_info_f

Parameters:
hid_t loc_idIN: Identifier of the object to locate the dataset within.
const char *dset_nameIN: The dataset name.
hsize_t * dimsOUT: The dimensions of the dataset.
H5T_class_t * class_idOUT: The class identifier. To a list of the HDF5 class types please refer to the Datatype Interface API help.
size_t * type_size

OUT: The size of the datatype in bytes.

Description:

H5LTget_dataset_info gets information about a dataset named dset_name exists attached to the object loc_id.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

--- Last Modified: December 04, 2017 | 07:12 AM