readh5

Read the HDF5 file ‘filename’ into a class. Groups within the hdf5 file are by default loaded as sub classes, unless they include a _read_as attribute (see sharpy.postproc.savedata). In this case, group can be loaded as classes, dictionaries, lists or tuples.

filename: string to file location

GroupName = string or list of strings. Default is None: if given, allows reading a specific group h5 file.

Warning

Groups that need to be read as lists and tuples are assumed to conform to the format used in sharpy.postproc.savedata