To access specific data in a HDF5 file, you need to open the enclosing attribute, dataset or group.
Groups can contain more groups or datasets and so on leading to a hierarchical structure for accessing the file data.
The sample HDF5 content shown before can then be downsized to just a relation between these attributes, datasets and groups. Simply locate the parameter you require and open it to access the data inside.
HDF5 "point/point.h5"
GROUP "/"
GROUP "1"
ATTRIBUTE "total"
GROUP "ghost"
GROUP "local"
DATASET "1"
ATTRIBUTE "val1"
ATTRIBUTE "val2"
DATASET "10"
#
# Rest of the file contents
#