For on-the-fly reconstruction that's planned for v1.0.0, we need to monitor file changes on the system, ideally in a portable (OS-agnostic) way.
Some options are:
Use the IPC lock from zarr-python. This requires integration with the writer to write the lock file.
Use Qt's file system watcher combined with zarr's chunk counting (zarr.Array.nchunks_initialized / zarr.Array.nchunks) to infer the change. This may not be safe from race conditions.
For on-the-fly reconstruction that's planned for v1.0.0, we need to monitor file changes on the system, ideally in a portable (OS-agnostic) way.
Some options are:
zarr.Array.nchunks_initialized / zarr.Array.nchunks
) to infer the change. This may not be safe from race conditions.