# xarray.backends.ZarrStore.encode_variable

#### ZarrStore.encode_variable(variable, name=None)[[source]](https://github.com/pydata/xarray/blob/main/xarray/backends/zarr.py#L1040-L1044)

encode one variable
