read_array function

Read array component from HDF5 file