Writing HDF5 failed when the area is not square.