Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5TB_DELETE_FIELD

Deletes a field from a table

Procedure:

H5TB_DELETE_FIELD (loc_id, dset_name, field_name )

Signature:

 herr_t H5TBdelete_field ( hid_t loc_id, const char *dset_name, const char *field_name )

subroutine h5tbdelete_field_f(loc_id, dset_name, field_name, 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) :: field_name  ! name of the field
  integer :: errcode                          ! error code
end subroutine h5tbdelete_field_f

Parameters:
hid_t loc_idIN: Identifier of the file or group in which the table is located
const char *dset_nameIN: The name of the table
const char *field_nameIN: The name of the field to delete

Description:

H5TB_DELETE_FIELD deletes a  field named field_name from the table dset_name. Note: this function requires the table to be re-created and rewritten in its entirety, and this can result in some unused space in the file, and can also take a great deal of time if the table is large.

Returns:

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

Example:

hl / examples / ex_table_12.c [91:92]  1.10/master  HDFFV/hdf5
 /* Delete the field */
 H5TBdelete_field( file_id, TABLE_NAME, "Pressure" );

  CALL h5tbdelete_field_f(file_id,dsetname1,"field4abc",errcode)

--- Last Modified: December 19, 2019 | 10:22 AM