Skip to content

Commit 23a74f7

Browse files
authored
Merge pull request #230 from grlee77/v3-spec-minor-fixes
minor grammar/typo fixes to v3 spec
2 parents 9740e2c + 1c5634d commit 23a74f7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/v3/core/v3.0.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ implementing a specification ``X.Y`` can be considered compatible with all
131131
datasets which only use features contained in version ``X.Y``.
132132

133133
For example, spec ``X.1`` adds core feature "foo" compared to ``X.0``. Assuming
134-
implementation A implements ``X.0`` and implementation B implements ``X.1``.
134+
implementation A implements ``X.1`` and implementation B implements ``X.0``.
135135
Data using feature "foo" can only be read with implementation A. B fails to open
136136
it, as the key "foo" is unknown.
137137

@@ -349,7 +349,7 @@ The following figure illustrates the first part of the terminology:
349349
of an array_ before they reach the underlying physical storage.
350350
Upon retrieval, the original keys and bytes are restored within the
351351
transformer. Any number of storage transformers can be registered and
352-
stacked. In contrast to codecs, storage transformers can act on the a
352+
stacked. In contrast to codecs, storage transformers can act on the
353353
complete array, rather than individual chunks. See the
354354
`storage transformers details`_ below.
355355

@@ -612,7 +612,7 @@ mandatory names:
612612

613613
If the ``data_type`` of an array is defined in a ``data_type`` extension,
614614
then said extension is responsible for interpreting the value of
615-
``fill_value`` and return a suitable type that can be used.
615+
``fill_value`` and returning a suitable type that can be used.
616616

617617
For core data types for which fill values are not permitted in JSON or
618618
for which decimal representation could be lossy, a string representing of
@@ -1178,7 +1178,7 @@ the following procedure:
11781178
Decoding procedure
11791179
------------------
11801180

1181-
Based on the computed ``decoded_representations`` list, a chunk is encoded using
1181+
Based on the computed ``decoded_representations`` list, a chunk is decoded using
11821182
the following procedure:
11831183

11841184
1. The encoded chunk representation ``EC_final`` is read from the store_.
@@ -1310,9 +1310,9 @@ A **writeable store** supports the following operations:
13101310
``set_partial_values`` - Store `values` at a given `key`, starting at byte `range_start`.
13111311

13121312
| Parameters: `key_start_values`: set of `key`,
1313-
| `range_start`, `value` triples, a `key` may occur multiple
1314-
| times with different `range_starts`, `range_starts` with
1315-
| length of the respective `value` must not specify overlapping
1313+
| `range_start`, `values` triples, a `key` may occur multiple
1314+
| times with different `range_starts`, `range_starts` (considering
1315+
| the length of the respective `values`) must not specify overlapping
13161316
| ranges for the same `key`
13171317
| Output: none
13181318
@@ -1560,7 +1560,7 @@ Let "+" be the string concatenation operator.
15601560
Storage transformers
15611561
====================
15621562

1563-
A Zarr storage transformer allows to change the zarr-compatible data before storing it.
1563+
A Zarr storage transformer allows changing the zarr-compatible data before storing it.
15641564
The stored transformed data is restored to its original state whenever data is requested
15651565
by the Array. Storage transformers can be configured per array via the
15661566
`storage_transformers <storage_transformers_>`_ name in the `array metadata`_. Storage transformers which do
@@ -1657,8 +1657,8 @@ In general, arrays can be resized for writable (and if necessary deletable)
16571657
stores. In the most basic case, two scenarios can be considered, shrinking along
16581658
an array dimension, or increasing its size.
16591659

1660-
When shrinking, implementations can consider to delete chunks if the store
1661-
allows this, or keep them. This should either be configurable, or be
1660+
When shrinking, implementations can consider whether to delete chunks if the
1661+
store allows this, or keep them. This should either be configurable, or be
16621662
communicated to the user appropriately.
16631663

16641664
When increasing an array along a dimension, chunks may or may not have existed

0 commit comments

Comments
 (0)