Quantcast

Documentation Center

  • Trial Software
  • Product Updates

H5A.open

Open attribute

Syntax

attr_id = H5A.open(obj_id,attr_name)
attr_id = H5A.open(obj_id,attr_name,aapl_id)

Description

attr_id = H5A.open(obj_id,attr_name) opens an attribute for an object specified by a parent object identifier and attribute name.

attr_id = H5A.open(obj_id,attr_name,aapl_id) opens an attribute with an attribute access property list identifier, aapl_id. The only currently valid value for aapl_id is 'H5P_DEFAULT'.

Examples

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

See Also

| |

Was this topic helpful?