Gets the dimensionality of a dataset
Procedure:
H5LT_GET_DATASET_NDIMS (loc_id, dset_name, rank)
Signature:
herr_t H5LTget_dataset_ndims ( hid_t loc_id, const char *dset_name, int *rank )
subroutine h5ltget_dataset_ndims_f(loc_id, dset_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
integer, intent(INOUT) :: rank ! rank
integer :: errcode ! error code
end subroutine h5ltget_dataset_ndims_f
Parameters:
hid_t loc_id | IN: Identifier of the object to locate the dataset within |
const char *dset_name | IN: The dataset name |
int * rank | OUT: The dimensionality of the dataset |
Description:
H5LT_GET_DATASET_NDIMS gets the dimensionality of 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:
--- Last Modified: August 13, 2019 | 01:50 PM