@@ -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
@@ -1127,18 +1129,18 @@ of an additional operation:
11271129 encoded representation is a byte string, then ``decoded_regions ``
11281130 specifies a list of byte ranges.
11291131
1130- - ``c.compute_encoded_size(input_size) ``, a procedure that determines the
1132+ - ``c.compute_encoded_size(input_size) ``, a procedure that determines the
11311133 size of the encoded representation given a size of the decoded representation.
11321134 This procedure cannot be implemented for codecs that produce variable-sized
1133- encoded representations, such as compression algorithms. Depending on the
1135+ encoded representations, such as compression algorithms. Depending on the
11341136 type of the codec, the signature could differ:
11351137
1136- - ``c.compute_encoded_size(array_size, data_type) -> (array_size, data_type) ``
1137- for ``array -> array `` codecs, where ``array_size `` is the number of items
1138+ - ``c.compute_encoded_size(array_size, data_type) -> (array_size, data_type) ``
1139+ for ``array -> array `` codecs, where ``array_size `` is the number of items
11381140 in the array, i.e., the product of the components of the array's shape;
1139- - ``c.compute_encoded_size(array_size, data_type) -> byte_size ``
1141+ - ``c.compute_encoded_size(array_size, data_type) -> byte_size ``
11401142 for ``array -> bytes `` codecs;
1141- - ``c.compute_encoded_size(byte_size) -> byte_size ``
1143+ - ``c.compute_encoded_size(byte_size) -> byte_size ``
11421144 for ``bytes -> bytes `` codecs.
11431145
11441146.. note ::
0 commit comments