Repository navigation
Conversation
FrancescAlted
left a comment
Member
There was a problem hiding this comment.
Nice work! I have some comments,
| With `--sharded`, the number of chunks per shard is the number of blocks in each `.b2nd` chunk; set on creation. `sample.b2nd` has chunks of 10 rows and blocks of | ||
| 2 rows, so each shard holds 10 / 2 = 5 chunks. If the block shape does not | ||
| divide the chunk shape evenly (say 3-row blocks in 10-row chunks), the shard | ||
| and the chunk have the same shape, and each shard holds a single chunk. |
Member
There was a problem hiding this comment.
Why so? Is that a limitation of Zarr? Or the b2nd-to-zarr tool?
| | default (zstd, 5, shuffle) | 7.84x | 2.92 MB | | ||
| | `--codec zstd --clevel 9` | 9.95x | 2.30 MB | | ||
| | `--codec zlib` | 7.28x | 3.14 MB | | ||
| | `--codec lz4` | 3.20x | 7.15 MB | |
Member
There was a problem hiding this comment.
Add blosclz here for completeness.
| Conversion Summary | ||
| Property Value | ||
| Source sample.zarr (2.92 MB) | ||
| Destination roundtrip.b2nd (3.25 MB) |
Member
There was a problem hiding this comment.
The original .b2nd file started at 2.88 MB, so perhaps an explanation on why the roundtrip expanded to 3.25 MB would be interesting.
Member
|
I have some comments that should be addressed before meging. |
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
b2nd-to-zarrCLI tool #714zarr-to-b2nddocs and the pros/cons analysis from issue [UTILS] Bi-directional Zarr conversion: Support importing Zarr to.b2nd#721