hdf5_metadata_tools#

Functions to extract metadata from an hdf5 file into a json format and write plantuml code to display that json data, optionally with highlights.

Functions

get_ds_dictionaries(name, node)

Callable as input for h5py.Group.visititems().

nested_set(dic, keys, value)

Turn the "flat" dict which results from using the function get_ds_dictionaries() in h5py.Group.visititems(), iteratively into a nested dict, which is the correct structure for representation in a plantuml json diagram.

write_puml_code_for_hdf5_metadata(hdf5_file, ...)

Write puml code for the hdf5 metadata to file.