libera_utils.io.hdf.h5dump#

libera_utils.io.hdf.h5dump(f: File, include_attrs: bool = True, stdout: bool = False)#

Prints the contents of an HDF5 object.

Parameters:
  • f (h5py.File or h5py.Group) – File, Group object from which to start inspecting.

  • include_attrs (bool, Optional) – Default True.

  • stdout (bool, Optional) – Default False. If True, prints to stdout as the object tree is traversed.

Returns:

Concatenated string of HDF5 contents

Return type:

str