SUBROUTINE h5gopen_f(loc_id, name, grp_id, hdferr, gapl_id)
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
IN: File or group identifier specifying the location of the group to be opened
const char *name
IN: Name of the group to open
IN: Group access property list identifier (No group access properties have been implemented at this time; use H5P_DEFAULT.)
H5Gopen2 opens an existing group, name, at the location specified by loc_id.
With default settings, H5Gopen2 provides similar functionality to that provided by H5Gopen1. The only difference is that H5Gopen2 can provide a group access property list, gapl_id.
H5Gopen2 returns a group identifier for the group that was opened. This group identifier should be released by calling H5Gclose when it is no longer needed.
Returns a group identifier if successful; otherwise returns a negative value.