Skip to contents

Open and explore

Connect to a store and see what is in it, without reading data.

zaro()
Open a Zarr store
zaro_dataset()
Open a store as a dataset: every array, its dimensions, no data read
zaro_groups()
The groups of a store
zaro_icechunk()
Open an Icechunk repository as a zaro store
zaro_list()
List contents of a Zarr store
zaro_meta()
Get metadata for a Zarr node

Read

Hyperslabs as R arrays, several whole arrays in one fetch, or lazy arrays that read on demand.

zaro_read()
Read data from a Zarr array
zaro_read_arrays()
Read several whole arrays in one fetch
zaro_array()
Open a Zarr array as a lazy R array

Plan and fetch

Which bytes a read needs (a byterefs-shaped table), and fetching them through one connection pool.

zaro_plan()
Plan a read: the byte references a selection needs, without reading them
zaro_fetch()
Fetch the bytes of a plan

Chunks

Work with individual chunks.

zaro_chunk()
Read a single chunk by grid index
zaro_chunks()
Read multiple chunks by index range
zaro_chunk_info()
Get chunk grid information for an array
zaro_chunk_apply()
Apply a function over chunks

Package

zaro-package
zaro: Read 'Zarr' Arrays from Native and Virtual Stores