Open attribute specified by name
attr_id = H5A.open_by_name(loc_id,obj_name,attr_name)
attr_id = H5A.open_by_name(loc_id,obj_name,attr_name,aapl_id,lapl_id)
attr_id = H5A.open_by_name(loc_id,obj_name,attr_name)
opens
an existing attribute attr_name
attached to an
object specified by its location loc_id
and name obj_name
.
attr_id = H5A.open_by_name(loc_id,obj_name,attr_name,aapl_id,lapl_id)
opens
an existing attribute with the attribute access property list aapl_id
and
link access property list lacpl_id
. aapl_id
must
be specified as 'H5P_DEFAULT'
. lapl_id
may
also be specified by 'H5P_DEFAULT'
.
fid = H5F.open('example.h5'); gid = H5G.open(fid,'/g1/g1.1'); attr_id = H5A.open_by_name(gid,'dset1.1.1','attr1'); H5A.close(attr_id); H5G.close(gid); H5F.close(fid);