Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5G_OPEN1

Opens an existing group for modification and returns a group identifier for that group

This function is deprecated in favor of the function H5G_OPEN2 or the macro H5G_OPEN.

Procedure:

H5G_OPEN1(loc_id, name)

Signature:

hid_t H5Gopen1(hid_t loc_id, const char *name )

SUBROUTINE h5gopen_f(loc_id, name, grp_id, hdferr, gapl_id)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: loc_id   ! File or group identifier 
  CHARACTER(LEN=*), INTENT(IN) :: name   ! Name of the group 
  INTEGER(HID_T), INTENT(OUT) :: grp_id  ! File identifier 
  INTEGER, INTENT(OUT) :: hdferr         ! Error code  
                                         ! 0 on success and -1 on failure
  INTEGER(HID_T), OPTIONAL, INTENT(IN) :: gapl_id  
                                         ! Group access property list identifier
END SUBROUTINE h5gopen_f

Parameters:
hid_t loc_idIN: File, group, dataset, named datatype or attribute identifier within which group is to be open
const char * name    IN: Name of group to open

Description:

H5G_OPEN1 opens an existing group with the specified name at the specified location, loc_id.

H5G_OPEN1  returns a group identifier for the group that was opened. This group identifier should be released by calling H5G_CLOSE when it is no longer needed.

Returns:

Returns a valid group identifier if successful; otherwise returns a negative value. 

Example:

Coming soon!

 

History:
Release    Change
1.8.0The function H5Gopen renamed to H5Gopen1 and deprecated in this release.
1.4.0Fortran call introduced in this release.
1.0.0C function introduced in this release.

--- Last Modified: July 29, 2020 | 01:47 PM