spatial_mean: Calculate the area weighted spatial mean for all variables.
This is performed for each time step.
If you want to calculate the spatial mean for a dataset, just do the following:
This method will calculate the average using weights based on each cell’s area. If cell areas cannot be calculated, it will take a straight average, and a warning will say this.