argopy.xarray.ArgoAccessor.to_zarr#
- ArgoAccessor.to_zarr(*args, **kwargs) ZarrStore | Delayed[source]#
Write Argo dataset content to a zarr group
Before write operation is delegated to
xarray.Dataset.to_zarr, we perform the following:Ensure all variables are appropriately cast.
If the
encodingargument is not specified, we automatically add aBlosc(cname="zstd", clevel=3, shuffle=2)compression to all variables. Set encoding=None for no compression.
- Parameters:
*args β Passed to
xarray.Dataset.to_zarr.**kwargs β Passed to
xarray.Dataset.to_zarr.
- Return type:
The output from
xarray.Dataset.to_zarrcall
See also
xarray.Dataset.to_zarr,numcodecs.blosc.Blosc