Quantcast

Documentation Center

  • Trial Software
  • Product Updates

H5G.open

Open specified group

Syntax

group_id = H5G.open(loc_id,name)
group_id = H5G.open(loc_id,name,gapl_id)

Description

group_id = H5G.open(loc_id,name) opens the group specified by name at the location specified by loc_id. loc_id is a file or group identifier. This interface corresponds to the 1.6 version of H5Gopen.

group_id = H5G.open(loc_id,name,gapl_id) opens the group with an additional group access property list, gapl_id. This interface corresponds to the 1.8 version of H5Gopen.

Examples

fid = H5F.open('example.h5');
gid = H5G.open(fid,'/g2');
H5G.close(gid);
H5F.close(fid);

See Also

|

Was this topic helpful?