Read the .zattrs file associated with a Zarr array or group
Source:R/write_metadata.R
write_zarr_attributes.Rd
Read the .zattrs file associated with a Zarr array or group
Usage
write_zarr_attributes(zarr_path, new.zattrs = list(), overwrite = TRUE)
Examples
z1 <- withr::local_tempdir(fileext = ".zarr")
write_zarr_attributes(z1, list(date = "2025-01-01", author = "Jane Doe"))
#> Warning: cannot open file '/tmp/RtmpRQJtrB/file242444d13ae.zarr/.zattrs': No such file or directory
#> Error in file(con, "w"): cannot open the connection