% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_metadata.R
\name{read_zarr_attributes}
\alias{read_zarr_attributes}
\title{Read the attributes associated with a Zarr array or group}
\usage{
read_zarr_attributes(zarr_path, s3_client = NULL)
}
\arguments{
\item{zarr_path}{A character vector of length 1.  This provides the
path to a Zarr array or group of arrays. This can either be on a local file
system or on S3 storage.}

\item{s3_client}{A list representing an S3 client.  This should be produced
by \code{\link[paws.storage:s3]{paws.storage::s3()}}.}
}
\value{
A list containing the attributes. If the file containing attributes
(\code{.zattrs} for Zarr v2 or \code{zarr.json} for Zarr v3) exists but no attributes
are provided, an empty list is returned.
}
\description{
Read the attributes associated with a Zarr array or group
}
