@@ -502,16 +502,16 @@ def open_group(
502
502
Whether to use consolidated metadata.
503
503
504
504
By default, consolidated metadata is used if it's present in the
505
- store (in the ``zarr.json`` for Zarr v3 and in the ``.zmetadata`` file
506
- for Zarr v2 ).
505
+ store (in the ``zarr.json`` for Zarr format 3 and in the ``.zmetadata`` file
506
+ for Zarr format 2 ).
507
507
508
508
To explicitly require consolidated metadata, set ``use_consolidated=True``,
509
509
which will raise an exception if consolidated metadata is not found.
510
510
511
511
To explicitly *not* use consolidated metadata, set ``use_consolidated=False``,
512
512
which will fall back to using the regular, non consolidated metadata.
513
513
514
- Zarr v2 allowed configuring the key storing the consolidated metadata
514
+ Zarr format 2 allows configuring the key storing the consolidated metadata
515
515
(``.zmetadata`` by default). Specify the custom key as ``use_consolidated``
516
516
to load consolidated metadata from a non-default key.
517
517
@@ -785,16 +785,16 @@ def create_array(
785
785
Iterable of filters to apply to each chunk of the array, in order, before serializing that
786
786
chunk to bytes.
787
787
788
- For Zarr v3 , a "filter" is a codec that takes an array and returns an array,
788
+ For Zarr format 3 , a "filter" is a codec that takes an array and returns an array,
789
789
and these values must be instances of ``ArrayArrayCodec``, or dict representations
790
790
of ``ArrayArrayCodec``.
791
791
If ``filters`` and ``compressors`` are not specified, then the default codecs for
792
- Zarr v3 will be used.
792
+ Zarr format 3 will be used.
793
793
These defaults can be changed by modifying the value of ``array.v3_default_codecs``
794
794
in :mod:`zarr.core.config`.
795
795
Use ``None`` to omit default filters.
796
796
797
- For Zarr v2 , a "filter" can be any numcodecs codec; you should ensure that the
797
+ For Zarr format 2 , a "filter" can be any numcodecs codec; you should ensure that the
798
798
the order if your filters is consistent with the behavior of each filter.
799
799
If no ``filters`` are provided, a default set of filters will be used.
800
800
These defaults can be changed by modifying the value of ``array.v2_default_filters``
@@ -804,32 +804,32 @@ def create_array(
804
804
List of compressors to apply to the array. Compressors are applied in order, and after any
805
805
filters are applied (if any are specified).
806
806
807
- For Zarr v3 , a "compressor" is a codec that takes a bytestrea , and
808
- returns another bytestream. Multiple compressors my be provided for Zarr v3 .
807
+ For Zarr format 3 , a "compressor" is a codec that takes a bytestream , and
808
+ returns another bytestream. Multiple compressors my be provided for Zarr format 3 .
809
809
If ``filters`` and ``compressors`` are not specified, then the default codecs for
810
- Zarr v3 will be used.
810
+ Zarr format 3 will be used.
811
811
These defaults can be changed by modifying the value of ``array.v3_default_codecs``
812
812
in :mod:`zarr.core.config`.
813
813
Use ``None`` to omit default compressors.
814
814
815
- For Zarr v2 , a "compressor" can be any numcodecs codec. Only a single compressor may
816
- be provided for Zarr v2 .
815
+ For Zarr format 2 , a "compressor" can be any numcodecs codec. Only a single compressor may
816
+ be provided for Zarr format 2 .
817
817
If no ``compressors`` are provided, a default compressor will be used.
818
818
These defaults can be changed by modifying the value of ``array.v2_default_compressor``
819
819
in :mod:`zarr.core.config`.
820
820
Use ``None`` to omit the default compressor.
821
821
serializer : dict[str, JSON] | ArrayBytesCodec, optional
822
822
Array-to-bytes codec to use for encoding the array data.
823
- Zarr v3 only. Zarr v2 arrays use implicit array-to-bytes conversion.
823
+ Zarr format 3 only. Zarr format 2 arrays use implicit array-to-bytes conversion.
824
824
If no ``serializer`` is provided, the `zarr.codecs.BytesCodec` codec will be used.
825
825
fill_value : Any, optional
826
826
Fill value for the array.
827
827
order : {"C", "F"}, optional
828
828
The memory of the array (default is "C").
829
- For Zarr v2 , this parameter sets the memory order of the array.
830
- For Zarr v3 , this parameter is deprecated, because memory order
831
- is a runtime parameter for Zarr v3 arrays. The recommended way to specify the memory
832
- order for Zarr v3 arrays is via the ``config`` parameter, e.g. ``{'config': 'C'}``.
829
+ For Zarr format 2 , this parameter sets the memory order of the array.
830
+ For Zarr format 3 , this parameter is deprecated, because memory order
831
+ is a runtime parameter for Zarr format 3 arrays. The recommended way to specify the memory
832
+ order for Zarr format 3 arrays is via the ``config`` parameter, e.g. ``{'config': 'C'}``.
833
833
If no ``order`` is provided, a default order will be used.
834
834
This default can be changed by modifying the value of ``array.order`` in :mod:`zarr.core.config`.
835
835
zarr_format : {2, 3}, optional
@@ -838,11 +838,11 @@ def create_array(
838
838
Attributes for the array.
839
839
chunk_key_encoding : ChunkKeyEncoding, optional
840
840
A specification of how the chunk keys are represented in storage.
841
- For Zarr v3 , the default is ``{"name": "default", "separator": "/"}}``.
842
- For Zarr v2 , the default is ``{"name": "v2", "separator": "."}}``.
841
+ For Zarr format 3 , the default is ``{"name": "default", "separator": "/"}}``.
842
+ For Zarr format 2 , the default is ``{"name": "v2", "separator": "."}}``.
843
843
dimension_names : Iterable[str], optional
844
844
The names of the dimensions (default is None).
845
- Zarr v3 only. Zarr v2 arrays should not use this parameter.
845
+ Zarr format 3 only. Zarr format 2 arrays should not use this parameter.
846
846
storage_options : dict, optional
847
847
If using an fsspec URL to create the store, these will be passed to the backend implementation.
848
848
Ignored otherwise.
0 commit comments