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

How to read/write string Arrays? #21

Closed
kaizhang opened this issue May 20, 2024 · 2 comments · Fixed by #40
Closed

How to read/write string Arrays? #21

kaizhang opened this issue May 20, 2024 · 2 comments · Fixed by #40

Comments

@kaizhang
Copy link

Are there any examples to demonstrate how to read/write string Arrays?

@LDeakin
Copy link
Owner

LDeakin commented May 20, 2024

zarrs does not currently support strings or variable length data types. I am waiting for the draft Zarr V3 ZEP for strings to progress.

@LDeakin
Copy link
Owner

LDeakin commented Jul 25, 2024

Support for strings has been added, there is an example here: https://github.com/LDeakin/zarrs/blob/main/examples/array_write_read_string.rs

Variable length data types/codecs are experimental and will not be compatible with other implementations likely for some time. Track standardisation progress here: zarr-developers/zeps#47

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

Successfully merging a pull request may close this issue.

2 participants