-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Describe the solution you'd like
We have started using xarray objects as "schema" for initializing zarrs that will be written to using the region argument of to_zarr. For example,
output_schema.to_zarr(path, compute=False)
for region in regions:
output = func(input_data.isel(region))
output.to_zarr(path, region=region)
Currently, xarray's tools for computing the output_schema Dataset are a lacking since rechunking existing datasets can be slow. dask.array.zeros_like takes a chunks argument, can we add one here too?
Describe alternatives you've considered
.chunk