agora.io.writer.load_attributes

load_attributes(file, group='/')[source]

Load the metadata from an h5 file and convert to a dictionary, including the “parameters” field which is stored as YAML.

Parameters
file: str

Name of the h5 file

group: str, optional

The group in the h5 file from which to read the data