xoa.coords.reverse_dim#
- xoa.coords.reverse_dim(da, dim=None)[source]#
Reverse a data array along a dimension
This is a view for numpy arrays and a lazy operation for dask arrays.
- Parameters:
da (xarray.DataArray)
dim (None, str) – Dimension name, which defaults to the first one.
- Returns:
xarray.DataArray