Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5LT_READ_DATASET_STRING

Reads a dataset from disk.

Procedure:

H5LT_READ_DATASET_STRING(loc_id, dset_name, buffer)

Signature:

herr_t H5LTread_dataset_string ( hid_t loc_id, const char *dset_name, char *buffer )

subroutine h5ltread_dataset_string_f(loc_id,dset_name,buf,errcode ) 
  implicit none
  integer(hid_t),   intent(in) :: loc_id         ! file or group identifier 
  character(len=*), intent(in) :: dset_name      ! name of the dataset 
  character(len=*), intent(inout) :: buf         ! data buffer
  integer :: errcode                             ! error code
end subroutine h5ltread_dataset_string_f

Parameters:
hid_t loc_idIN: Identifier of the file or group to read the dataset within.
const char *dset_nameIN: The name of the dataset to read.
double * buffer

OUT: Buffer with data.

Description:

H5LTread_dataset_string reads a dataset named dset_name attached to the object specified by the identifier loc_id. The HDF5 datatype is H5T_C_S1.

Returns:

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

Example:

Coming Soon!

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