Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5LT_MAKE_DATASET_STRING

Creates and writes a dataset with string datatype.

Procedure:

H5LT_MAKE_DATASET_STRING(loc_id, dset_name, buffer)

Signature:

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

subroutine h5ltmake_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(IN), dimension(*) :: buf  
                                                 ! data buffer 
  integer :: errcode                             ! error code
end subroutine h5ltmake_dataset_string_f

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

IN: Buffer with data to be written to the dataset.

Description:

H5LTmake_dataset_string creates and writes a dataset named dset_name attached to the object specified by the identifier loc_id.

The dataset’s datatype will be C string, 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:13 AM