Would you please share both .hdf and .h5 files?
You can use something like medaifire for file sharing if you can’t upload them on this forum due to file sizes.
What do you mean by “tree structures”?
Do you see any tree structure in your HDFView for the original HDF4 file?
I’d appreciate if you can share your HDFView screenshot for the HDF4 file
after circling the tree structure that you’re seeing.
The list of groups and data files is called a tree structure because they are in descending order much like the linux file system and the roots of a tree. In this case there is a list of items like in both of your pictures for the hdf file but not the hdf5 file.
I tried hdrcompass and was able to see the items, but
it issues an error message when accessed. It seems like there is a considerable amount of questionable hdr type software around?
I’m surprised no one so far has suggested trying https://myhdf5.hdfgroup.org/. This is an HDF5 file viewer in the browser, so no need to apt install ... anything.