From 422c55085cd7796813dcf5206557a954bef19dbe Mon Sep 17 00:00:00 2001 From: Zolisa Bleki Date: Sat, 6 Jul 2024 20:37:34 +0200 Subject: [PATCH] Fix Example JSON document for Array metadata. JSON array metadata document in the **Array metadata** section is ill-formed. the `codecs` field contains just the gzip codec configuration, even though the spec requires the codec chain to always have one `array->bytes` codec. That is in the example the gzip codec should be replaced with something more sensible like `{"name": "bytes", "configuration": "big"}` to be considered correct. This commit fixes that. --- docs/v3/core/v3.0.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/v3/core/v3.0.rst b/docs/v3/core/v3.0.rst index 5264940..a3f1673 100644 --- a/docs/v3/core/v3.0.rst +++ b/docs/v3/core/v3.0.rst @@ -721,9 +721,9 @@ compressed using gzip compression prior to storage:: } }, "codecs": [{ - "name": "gzip", + "name": "bytes", "configuration": { - "level": 1 + "endian": "big" } }], "fill_value": "NaN", @@ -760,9 +760,9 @@ above, but using a (currently made up) extension data type:: } }, "codecs": [{ - "name": "gzip", + "name": "bytes", "configuration": { - "level": 1 + "endian": "big" } }], "fill_value": null,