xarray.Dataset.argo.to_zarr

xarray.Dataset.argo.to_zarr#

Dataset.argo.to_zarr(*args, **kwargs) ZarrStore | Delayed#

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 encoding argument is not specified, we automatically add a Blosc(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_zarr call

See also

xarray.Dataset.to_zarr, numcodecs.blosc.Blosc