Documentation Center

  • Trial Software
  • Product Updates

H5F.get_info

Global information about file

Syntax

file_info = H5F.get_info(obj_id)

Description

file_info = H5F.get_info(obj_id) returns global information for the file associated with the object identifier obj_id. For details about the fields of the file_info structure, please refer to the HDF5 documentation.

Examples

fid = H5F.open('example.h5');
gid = H5G.open(fid,'g2');
info = H5F.get_info(gid);
H5G.close(gid);
H5F.close(fid);
Was this topic helpful?