Skip to content

Commit 40f4944

Browse files
authored
make compressor optional (#94)
1 parent d1cc620 commit 40f4944

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

docs/protocol/core/v3.0.rst

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ Array metadata
789789

790790
Each Zarr array in a hierarchy must have an array metadata
791791
document. This document must contain a single object with the
792-
following names:
792+
following mandatory names:
793793

794794
``shape``
795795

@@ -856,15 +856,6 @@ following names:
856856
human-readable representation of the specification. The ``type`` is
857857
required and the value is defined by the protocol extension.
858858

859-
``compressor``
860-
861-
Specifies a codec to be used for encoding and decoding chunks. The
862-
value must be an object containing the name ``codec`` whose value
863-
is a URI that identifies a codec and dereferences to a human
864-
readable representation of the codec specification. The codec
865-
object may also contain a ``configuration`` name whose value is
866-
defined by the corresponding codec specification.
867-
868859
``fill_value``
869860

870861
Provides an element value to use for uninitialised portions of the
@@ -902,6 +893,19 @@ following names:
902893
The value must be an object. The object may contain any name/value
903894
pairs.
904895

896+
The following names are optional:
897+
898+
``compressor``
899+
900+
Specifies a codec to be used for encoding and decoding chunks. The
901+
value must be an object containing the name ``codec`` whose value
902+
is a URI that identifies a codec and dereferences to a human
903+
readable representation of the codec specification. The codec
904+
object may also contain a ``configuration`` name whose value is
905+
defined by the corresponding codec specification. When the key for this is
906+
absent, this signor fies that no compressor has been used.
907+
908+
905909
All other names within the array metadata object are reserved for
906910
future versions of this specification.
907911

0 commit comments

Comments
 (0)