Calculate the spatial mean of the data. If the time dimension is present, the data is averaged over the time dimension.
- Parameters:
ds (xr.Dataset) – The data to calculate the spatial mean of.
- Returns:
The spatial mean of the data.
- Return type:
xr.Dataset