You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user-guide/v3_migration.rst
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ the following actions in order:
58
58
vendor the parts of the specific modules that you need.
59
59
60
60
* ``zarr.attrs`` has gone, with no replacement
61
-
* ``zarr.codecs`` has gone, use ``numcodecs`` instead
61
+
* ``zarr.codecs`` has changed, see "Codecs" section below for more information
62
62
* ``zarr.context`` has gone, with no replacement
63
63
* ``zarr.core`` remains but should be considered private API
64
64
* ``zarr.hierarchy`` has gone, with no replacement (use ``zarr.Group`` inplace of ``zarr.hierarchy.Group``)
@@ -178,6 +178,18 @@ If you are interested in developing a custom store that targets these backends,
178
178
:ref:`developing custom stores <user-guide-custom-stores>` or open an
179
179
`issue <https://github.com/zarr-developers/zarr-python/issues>`_ to discuss your use case.
180
180
181
+
182
+
Codecs
183
+
~~~~~~
184
+
Codecs defined in ``numcodecs`` (and also imported into the ``zarr.codecs`` namespace in Zarr-Python 2)
185
+
should still be used when creating Zarr format 2 arrays.
186
+
187
+
Codecs for creating Zarr format 3 arrays are available in two locations:
188
+
189
+
- `zarr.codecs` contains Zarr format 3 codecs that are defined in the `codecs section of the Zarr format 3 specification <https://zarr-specs.readthedocs.io/en/latest/v3/codecs/index.html>`_.
190
+
- `numcodecs.zarr3` contains codecs from ``numcodecs`` that can be used to create Zarr format 3 arrays, but are not necessarily part of the Zarr format 3 specification.
0 commit comments