Quantcast

Documentation Center

  • Trial Software
  • Product Updates

H5A.get_info

Information about attribute

Syntax

info = H5A.get_info(attr_id)

Description

info = H5A.get_info(attr_id) returns information about an attribute specified by attr_id.

Examples

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

See Also

Was this topic helpful?