Crops data in a Zarr file based on spatial (AOI) and temporal (start/end) filters.
Usage
zarr_crop(
URL = NULL,
catalog = NULL,
AOI = NULL,
startDate = NULL,
endDate = NULL,
start = NULL,
end = NULL,
varname = NULL,
verbose = TRUE
)
Arguments
- URL
Character. The URL of the Zarr file. Defaults to NULL.
- catalog
Data frame. Metadata catalog for the Zarr file. Defaults to NULL.
- AOI
Spatial object. Area of interest for cropping. Defaults to NULL.
- startDate
Character. Start date for cropping. Defaults to NULL.
- endDate
Character. End date for cropping. Defaults to NULL.
- start
Numeric. Start index for cropping. Defaults to NULL.
- end
Numeric. End index for cropping. Defaults to NULL.
- varname
Character. Variable name to crop. Defaults to NULL.
- verbose
Logical. Whether to print verbose output. Defaults to TRUE.
See also
Other zarr:
.resource_grid_zarr()
,
.resource_time_zarr()
,
go_get_zarr()
,
read_zarr_file()
,
zarr_get()
,
zarr_to_terra()
,
zarr_xyzv()