diff --git a/ndsl/monitor/zarr_monitor.py b/ndsl/monitor/zarr_monitor.py index 99deec2b..1f57cf23 100644 --- a/ndsl/monitor/zarr_monitor.py +++ b/ndsl/monitor/zarr_monitor.py @@ -7,6 +7,7 @@ import xarray as xr import ndsl.constants as constants +from ndsl.comm import Comm from ndsl.comm.partitioner import Partitioner, subtile_slice from ndsl.logging import ndsl_log from ndsl.monitor.convert import to_numpy @@ -47,7 +48,7 @@ def __init__( store: str | zarr.storage.MutableMapping, partitioner: Partitioner, mode: str = "w", - mpi_comm: DummyComm | None = None, + mpi_comm: Comm | DummyComm | None = None, ) -> None: """Create a ZarrMonitor.