use zarr for writing results - https://pythonspeed.com/articles/mmap-vs-zarr-hdf5/ - https://zarr.readthedocs.io/en/stable/tutorial.html#
use zarr for writing results