Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5LT_GET_ATTRIBUTE_NDIMS

Gets the dimensionality of an attribute.

Procedure:

H5LT_GET_ATTRIBUTE_NDIMS(loc_id, obj_name, attr_name, rank)

Signature:

herr_t H5LTget_attribute_ndims( hid_t loc_id, const char *obj_name, const char *attr_name,  int *rank )

subroutine h5ltget_attribute_ndims_f(loc_id, dset_name, attr_name, &
                                     rank, 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) :: attr_name      ! name of the attribute
  integer, intent(INOUT) :: rank                 ! rank 
  integer :: errcode                             ! error code
  integer :: namelen                             ! name length
  integer :: attrlen                             ! name length
end subroutine h5ltget_attribute_ndims_f

Parameters:
hid_t loc_idIN: Identifier of the object ( dataset or group) to read the attribute from.
const char *obj_nameIN: The name of the object that the attribute is attached to.
const char *attr_nameIN: The attribute name.
int * rank

OUT: The dimensionality of the attribute.

Description:

H5LTget_attribute_ndims gets the dimensionality of an attribute named attr_name that is attached to the object specified by the name obj_name.

Returns:

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

Example:

Coming Soon!

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