attempted to synchronized ncwrite and h5write, so that we can use them to compare performance.