wradlib.io.hdf.read_generic_hdf5

wradlib.io.hdf.read_generic_hdf5(fname)

Reads hdf5 files according to their structure

In contrast to other file readers under wradlib.io, this function will not return a two item tuple with (data, metadata). Instead, this function returns ONE dictionary that contains all the file contents - both data and metadata. The keys of the output dictionary conform to the Group/Subgroup directory branches of the original file.

Parameters:fname (string) – a hdf5 file path
Returns:output (dict) – a dictionary that contains both data and metadata according to the original hdf5 file structure

Examples

See Generic HDF5.