Skip to content

Commit

Permalink
Fix Example JSON document for Array metadata.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zoj613 committed Jul 8, 2024
1 parent daef2bc commit 422c550
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/v3/core/v3.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -721,9 +721,9 @@ compressed using gzip compression prior to storage::
}
},
"codecs": [{
"name": "gzip",
"name": "bytes",
"configuration": {
"level": 1
"endian": "big"
}
}],
"fill_value": "NaN",
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 422c550

Please sign in to comment.