go_get_zarr: Retrieve data from a Zarr resource

View source: R/zarr.R

go_get_zarrR Documentation

Retrieve data from a Zarr resource

Description

This function retrieves or prepares metadata for data stored in a Zarr format.

Usage

go_get_zarr(zarr, get = TRUE)

Arguments

zarr

A data frame containing details of the Zarr resource to process. Each row should correspond to a single Zarr resource.

get

Logical. If 'TRUE', retrieves data; if 'FALSE', returns metadata information.

Value

If 'get = TRUE', returns the requested data as a matrix. If 'get = FALSE', returns a data frame containing metadata information for the resource.

See Also

Other zarr: .resource_grid_zarr(), .resource_time_zarr(), read_zarr_file(), zarr_crop(), zarr_get(), zarr_to_terra(), zarr_xyzv()

Examples

## Not run: 
# Example usage (assuming `zarr` is a properly formatted data frame):
# result <- go_get_zarr(zarr, get = TRUE)

## End(Not run)

mikejohnson51/climateR documentation built on Dec. 6, 2024, 10:37 a.m.