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

Filter for space-filling-curves #669

Open
mrocklin opened this issue Nov 5, 2016 · 2 comments
Open

Filter for space-filling-curves #669

mrocklin opened this issue Nov 5, 2016 · 2 comments
Labels
enhancement New codec Suggestion for a new codec

Comments

@mrocklin
Copy link

mrocklin commented Nov 5, 2016

ND-arrays representing spatial data may have highly related data located spatially in an n-dimensional sense. It's possible that pre-ordering the buffer with some sort of space-filling curve would improve compression.

@alimanfoo
Copy link
Member

I think there is overlap with zarr-developers/zarr-python#40 where @shoyer proposed re-ordering each chunk's buffer using the Z-order curve, except here the goal is to improve compression and in zarr-developers/zarr-python#40 the goal is to reduce overhead associated with accessing small data regions.

Looks like there was some discussion of adding support for Z-ordering (Morton ordering) to numpy a while back, but looks like it didn't go anywhere. There is some code by @tgamblin.

cc @benjeffery

@dstansby
Copy link
Contributor

I'm going to transfer this to numcodecs, because I think this is more of a request for a new filter or codec. If there's interest in adding this to the zarr v3 spec, then https://github.com/zarr-developers/zarr-specs is the place to propose/discuss.

@dstansby dstansby transferred this issue from zarr-developers/zarr-python Dec 12, 2024
@dstansby dstansby added the New codec Suggestion for a new codec label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New codec Suggestion for a new codec
Projects
None yet
Development

No branches or pull requests

3 participants