pyUSID.io.hdf_utils.base.print_tree

pyUSID.io.hdf_utils.base.print_tree(parent, rel_paths=False, main_dsets_only=False)[source]

Simple function to recursively print the contents of an hdf5 group

Parameters:
  • parent (h5py.Group) – HDF5 (sub-)tree to print

  • rel_paths (bool, optional. Default = False) – True - prints the relative paths for all elements. False - prints a tree-like structure with only the element names

  • main_dsets_only (bool, optional. default=False) – True - prints only groups and Main datasets False - prints all dataset and group objects