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

Data type extensions #129

Open
1 of 4 tasks
LDeakin opened this issue Jan 11, 2025 · 0 comments
Open
1 of 4 tasks

Data type extensions #129

LDeakin opened this issue Jan 11, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@LDeakin
Copy link
Owner

LDeakin commented Jan 11, 2025

In zarrs 0.6.0, data type extensions were disabled because I wasn't sure how to handle them properly in codecs and fallback data types had been removed from the spec. The specification does not consider what should happen with a custom data type in a codec like Bytes, so it must be implementation/user-defined (until it is standardised).

  • the Bytes codec needs special handling for custom data types, this can be done with a trait
  • the transpose codec trivially supports custom data types (just needs their element size)
  • if a custom data type has a fallback numerical data type, codecs like bitround and zfp could still work
  • all bytes-to-bytes codecs support custom data types

TODO

@LDeakin LDeakin added the enhancement New feature or request label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant