We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am wondering if it is possible to add or edit attributes of a zarr array after it has been created.
Here is a naive attempt to do so:
using Zarr fname = tempname() z1 = zcreate(Int, 1000,1000,path = fname,chunks=(100, 100),attrs = Dict( "bar" => "foo", )) z2 = zopen(fname,"w") z2.attrs["bar"] = 42 # need a zclose? z2 = zopen(fname,"r") z2.attrs["bar"] # still "foo"
Maybe we would need a zclose that synchronizes z2.attrs with the json file .zattrs.
zclose
.zattrs
I am using Zarr v0.9.1.
The text was updated successfully, but these errors were encountered:
Maybe functions like the put, update, and refresh methods in https://zarr.readthedocs.io/en/stable/api/attrs.html would be useful.
put
update
refresh
Sorry, something went wrong.
No branches or pull requests
I am wondering if it is possible to add or edit attributes of a zarr array after it has been created.
Here is a naive attempt to do so:
Maybe we would need a
zclose
that synchronizes z2.attrs with the json file.zattrs
.I am using Zarr v0.9.1.
The text was updated successfully, but these errors were encountered: