-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from LDeakin/codec_aliasing
Refactor codec metadata and fill values
- Loading branch information
Showing
121 changed files
with
3,192 additions
and
2,013 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,60 @@ | ||
| Codec Type | Codec | ZEP | V3 | V2 | Feature Flag* | | ||
| -------------- | ------------------ | ----------------- | ------- | ------- | ------------- | | ||
| Array to Array | [transpose] | [ZEP0001] | ✓ | | **transpose** | | ||
| Array to Bytes | [bytes] | [ZEP0001] | ✓ | | | | ||
| | [sharding_indexed] | [ZEP0002] | ✓ | | **sharding** | | ||
| Bytes to Bytes | [blosc] | [ZEP0001] | ✓ | ✓ | **blosc** | | ||
| | [gzip] | [ZEP0001] | ✓ | ✓ | **gzip** | | ||
| | [crc32c] | [ZEP0002] | ✓ | | **crc32c** | | ||
| | [zstd] | [zarr-specs #256] | ✓ | ✓ | **zstd** | | ||
| Codec Type | Default codec `name` | Status | Feature Flag* | | ||
| -------------- | -------------------------| ------------ | ------------- | | ||
| Array to Array | [`transpose`] | Core | **transpose** | | ||
| | [`zarrs.bitround`] | Experimental | bitround | | ||
| Array to Bytes | [`bytes`] | Core | | | ||
| | [`sharding_indexed`] | Core | **sharding** | | ||
| | [`vlen-array`] | Experimental | | | ||
| | [`vlen-bytes`] | Experimental | | | ||
| | [`vlen-utf8`] | Experimental | | | ||
| | [`numcodecs.pcodec`] | Experimental | pcodec | | ||
| | [`numcodecs.zfpy`] | Experimental | zfp | | ||
| | [`zarrs.vlen`] | Experimental | | | ||
| | [`zarrs.vlen_v2`] | Experimental | | | ||
| | [`zarrs.zfp`] | Experimental | zfp | | ||
| Bytes to Bytes | [`blosc`] | Core | **blosc** | | ||
| | [`crc32c`] | Core | **crc32c** | | ||
| | [`gzip`] | Core | **gzip** | | ||
| | [`zstd`] | Experimental | **zstd** | | ||
| | [`numcodecs.bz2`] | Experimental | bz2 | | ||
| | [`numcodecs.fletcher32`] | Experimental | fletcher32 | | ||
| | [`zarrs.gdeflate`] | Experimental | gdeflate | | ||
|
||
<sup>\* Bolded feature flags are part of the default set of features.</sup> | ||
|
||
[ZEP0001]: https://zarr.dev/zeps/accepted/ZEP0001.html | ||
[ZEP0002]: https://zarr.dev/zeps/accepted/ZEP0001.html | ||
[zarr-specs #256]: https://github.com/zarr-developers/zarr-specs/pull/256 | ||
|
||
[transpose]: crate::array::codec::array_to_array::transpose | ||
[bytes]: crate::array::codec::array_to_bytes::bytes | ||
[sharding_indexed]: crate::array::codec::array_to_bytes::sharding | ||
[blosc]: crate::array::codec::bytes_to_bytes::blosc | ||
[gzip]: crate::array::codec::bytes_to_bytes::gzip | ||
[crc32c]: crate::array::codec::bytes_to_bytes::crc32c | ||
[zstd]: crate::array::codec::bytes_to_bytes::zstd | ||
[`transpose`]: crate::array::codec::array_to_array::transpose | ||
[`zarrs.bitround`]: crate::array::codec::array_to_array::bitround | ||
|
||
[`bytes`]: crate::array::codec::array_to_bytes::bytes | ||
[`vlen-array`]: crate::array::codec::array_to_bytes::vlen_array | ||
[`vlen-bytes`]: crate::array::codec::array_to_bytes::vlen_bytes | ||
[`vlen-utf8`]: crate::array::codec::array_to_bytes::vlen_utf8 | ||
[`sharding_indexed`]: crate::array::codec::array_to_bytes::sharding | ||
[`numcodecs.pcodec`]: crate::array::codec::array_to_bytes::pcodec | ||
[`numcodecs.zfpy`]: crate::array::codec::array_to_bytes::zfpy | ||
[`zarrs.vlen`]: crate::array::codec::array_to_bytes::vlen | ||
[`zarrs.vlen_v2`]: crate::array::codec::array_to_bytes::vlen_v2 | ||
[`zarrs.zfp`]: crate::array::codec::array_to_bytes::zfp | ||
|
||
[`blosc`]: crate::array::codec::bytes_to_bytes::blosc | ||
[`crc32c`]: crate::array::codec::bytes_to_bytes::crc32c | ||
[`gzip`]: crate::array::codec::bytes_to_bytes::gzip | ||
[`zstd`]: crate::array::codec::bytes_to_bytes::zstd | ||
[`numcodecs.bz2`]: crate::array::codec::bytes_to_bytes::gzip | ||
[`numcodecs.fletcher32`]: crate::array::codec::bytes_to_bytes::fletcher32 | ||
[`zarrs.gdeflate`]: crate::array::codec::bytes_to_bytes::gdeflate | ||
|
||
**Experimental codecs are recommended for evaluation only**. | ||
They may change in future releases without maintaining backwards compatibilty. | ||
These codecs have not been standardised, but many are fully compatible with other Zarr implementations. | ||
|
||
Codec `name`s and aliases are configurable with [`Config::codec_map_mut`](config::Config::codec_map_mut). | ||
`zarrs` will persist codec names if opening an existing array of creating an array from metadata. | ||
|
||
`zarrs` supports arrays created with `zarr-python` 3.x.x with various `numcodecs.zarr3` codecs. | ||
However, arrays must be written with `numcodecs` 0.15+. | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.