<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_zarr( self, store: Union[MutableMapping, PathLike], ):
 """Write a hierarchical Zarr array store. Parameters store The filename, a :class:`~typing.MutableMapping`, or a Zarr storage class. chunks Chunk shape. """

        from .readwrite.write import write_zarr
        write_zarr(store, self, chunks=chunks)