xoa.grid.shift

xoa.grid.shift(da, shift_dirs, mode='edge', **kwargs)[source]

Shift the grid by an half grid cell along specified dimensions and directions

This is typically useful with Arakawa grids.

Parameters:
Returns:

xarray.DataArray, xarray.Dataset