def register_hdf5_array_io(array_type, format='<STR_LIT>', identify=True):
def from_hdf5(*args, **kwargs):<EOL><INDENT>"""<STR_LIT>"""<EOL>kwargs.setdefault('<STR_LIT>', array_type)<EOL>return read_hdf5_array(*args, **kwargs)<EOL><DEDENT>io_registry.register_reader(format, array_type, from_hdf5)<EOL>if issubclass(array_type, Series):<EOL><INDENT>io_registry.register_writer(format, array_type, write_hdf5_series)<EOL><DEDENT>else:<EOL><INDENT>io_registry.register_writer(format, array_type, write_hdf5_array)<EOL><DEDENT>if identify:<EOL><INDENT>io_registry.register_identifier(format, array_type,<EOL>io_hdf5.identify_hdf5)<EOL><DEDENT>
Registry read() and write() methods for the HDF5 format