xugrid.UgridDataArrayAccessor.to_zarr#

UgridDataArrayAccessor.to_zarr(*args, **kwargs)#

Write dataset contents to a UGRID compliant Zarr file.

This function wraps xr.Dataset.to_zarr(); it adds the UGRID variables and coordinates to a standard xarray Dataset, then writes the result to a Zarr file.

All arguments are forwarded to xr.Dataset.to_zarr().