Skip to content

Commit 6999c96

Browse files
committed
pr feedback
1 parent a1e8e42 commit 6999c96

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

docs/v3/codecs/sharding-indexed/v1.0.rst

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,7 @@ Sharding can be configured per array in the :ref:`array-metadata` as follows:
8585
{
8686
"name": "sharding_indexed"
8787
"configuration": {
88-
"chunk_grid": {
89-
"name": "regular",
90-
"configuration": {
91-
"chunk_shape": [32, 32]
92-
}
93-
}
88+
"chunk_shape": [32, 32],
9489
"codecs": [
9590
{
9691
"name": "gzip",
@@ -104,16 +99,17 @@ Sharding can be configured per array in the :ref:`array-metadata` as follows:
10499
]
105100
}
106101
107-
``chunk_grid``
102+
``chunk_shape``
108103

109-
Specifies the chunk grid of the inner chunks. The value must be an object,
110-
as specified in the :ref:`_array-metadata`.
111-
Currently, only the ``"regular"`` chunk grid is supported for inner chunks.
112-
Each integer of the inner ``chunk_shape`` must by divisible by the shape of
113-
the shard (i.e, ``chunk_shape`` of the array for regular chunk grids).
104+
An array of integers providing the shape of inner chunks in a shard for each
105+
dimension of the Zarr array. The length of the array must match the length
106+
of the array metadata ``shape`` entry. The each integer must by divisible by
107+
the ``chunk_shape`` of the array as defined in the ``chunk_grid``
108+
:ref:`_array-metadata`.
114109
For example, an inner chunk shape of ``[32, 2]`` with an outer chunk shape
115110
``[64, 64]`` indicates that 64 chunks are combined in one shard, 2 along the
116111
first dimension, and for each of those 32 along the second dimension.
112+
Currently, only the ``regular`` chunk grid is supported.
117113

118114
``codecs``
119115

0 commit comments

Comments
 (0)