[docs]classNoopReader(Reader):""" No-op (no operation) reader intended to be used in tests as a way to test utilities that utilize readers but are not trying to test any specific reader. NOT intended to be inherited by plug-in readers see ImageContainer instead. """_NUM_SCENES=3_mock_data=np.arange(np.prod((_NUM_SCENES,4,5,6,7,8)),dtype="uint16").reshape((_NUM_SCENES,4,5,6,7,8))@staticmethoddef_is_supported_image(fs:fsspec.AbstractFileSystem,path:str,**kwargs:typing.Any,)->bool:returnTrue@propertydefscenes(self)->typing.Tuple[str,...]:returntuple(f"Image:{idx}"foridxinrange(self._NUM_SCENES))def_read_delayed(self)->xr.DataArray:returnxr.DataArray(data=da.from_array(self._mock_data[self.current_scene_index]),dims=DEFAULT_DIMENSION_ORDER_LIST,)def_read_immediate(self)->xr.DataArray:returnxr.DataArray(data=self._mock_data[self.current_scene_index],dims=DEFAULT_DIMENSION_ORDER_LIST,)