Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worse compression in recent versions? #87

Open
hyanwong opened this issue Jul 13, 2024 · 2 comments
Open

Worse compression in recent versions? #87

hyanwong opened this issue Jul 13, 2024 · 2 comments

Comments

@hyanwong
Copy link
Member

hyanwong commented Jul 13, 2024

I'm loading https://zenodo.org/records/5495535/files/hgdp_tgp_sgdp_chr20_p.dated.trees.tsz. When I decompress and then compress it again, with the latests tszip, I get a file which is about 20% larger than before.

-rw-r--r--@ 1 yan  staff    35M 13 Jul 19:24 hgdp_tgp_sgdp_chr20_p.dated.trees.tsz
-rw-r--r--@ 1 yan  staff    44M 13 Jul 19:25 hgdp_tgp_sgdp_chr20_p.dated.trees_recompressed.tsz

I seem to remember some explanation for why compression got worse at some point, but I can't find it.

@jeromekelleher
Copy link
Member

That's curious. I don't remember any particular reason for this, and would need to look at the Zarrs to get any insights

@benjeffery
Copy link
Member

Does the compression ratio change if you revert to an old zarr version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants