From 6a101a92860bdfb41337d13976f753c656d165c5 Mon Sep 17 00:00:00 2001 From: Ray Bell Date: Mon, 21 Jun 2021 13:47:46 -0400 Subject: [PATCH] DOC: zarr note on encoding (#5427) --- xarray/core/dataset.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index 4a0f4cbd772..dbffc9c3002 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -2001,6 +2001,10 @@ def to_zarr( If not other chunks are found, Zarr uses its own heuristics to choose automatic chunk sizes. + encoding: + The encoding attribute (if exists) of the DataArray(s) will be + used. Override any existing encodings by providing the ``encoding`` kwarg. + See Also -------- :ref:`io.zarr`