文档

H5A.get_type

复制属性的数据类型

语法

type_id = H5A.get_type (attr_id)

描述

type_id = H5A.get_type (attr_id)返回一个副本的数据类型属性指定的attr_id

例子

fid = H5F.open (“example.h5”);gid = H5G.open (fid,' / ');attr_id = H5A.open (gid,' attr1”);type_id = H5A.get_type (attr_id);H5T.close (type_id);H5A.close (attr_id);H5G.close (gid);H5F.close (fid);

另请参阅

|

这个主题有帮助吗?