@@ -40,6 +40,8 @@ Status of this document
4040
4141ZEP0001 was accepted on May 15th, 2023 via https://github.com/zarr-developers/zarr-specs/issues/227.
4242
43+ This specification is the latest version.
44+
4345
4446Introduction
4547============
@@ -526,7 +528,7 @@ mandatory names:
526528
527529 For example, in a 3 dimensional array, with a separator of ``/ `` the identifier
528530 for the chunk at grid index (1, 23, 45) is the string ``"c/1/23/45" ``. With a
529- separator of ``. ``, the identifier is the string ``"c.1.23.45" ``. The initial prefix
531+ separator of ``. ``, the identifier is the string ``"c.1.23.45" ``. The initial prefix
530532 ``c `` ensures that metadata documents and chunks have separate prefixes.
531533
532534 .. note :: A main difference with spec v2 is that the default chunk separator
@@ -1128,18 +1130,18 @@ of an additional operation:
11281130 encoded representation is a byte string, then ``decoded_regions ``
11291131 specifies a list of byte ranges.
11301132
1131- - ``c.compute_encoded_size(input_size) ``, a procedure that determines the
1133+ - ``c.compute_encoded_size(input_size) ``, a procedure that determines the
11321134 size of the encoded representation given a size of the decoded representation.
11331135 This procedure cannot be implemented for codecs that produce variable-sized
1134- encoded representations, such as compression algorithms. Depending on the
1136+ encoded representations, such as compression algorithms. Depending on the
11351137 type of the codec, the signature could differ:
11361138
1137- - ``c.compute_encoded_size(array_size, data_type) -> (array_size, data_type) ``
1138- for ``array -> array `` codecs, where ``array_size `` is the number of items
1139+ - ``c.compute_encoded_size(array_size, data_type) -> (array_size, data_type) ``
1140+ for ``array -> array `` codecs, where ``array_size `` is the number of items
11391141 in the array, i.e., the product of the components of the array's shape;
1140- - ``c.compute_encoded_size(array_size, data_type) -> byte_size ``
1142+ - ``c.compute_encoded_size(array_size, data_type) -> byte_size ``
11411143 for ``array -> bytes `` codecs;
1142- - ``c.compute_encoded_size(byte_size) -> byte_size ``
1144+ - ``c.compute_encoded_size(byte_size) -> byte_size ``
11431145 for ``bytes -> bytes `` codecs.
11441146
11451147.. note ::
0 commit comments