implemented HDF5 writer for LatticeSpace