Create a field with lower spatial resolution
This function creates a lower resolution field from
the one displayed above. The spatial average routine averages
over a number of grid cells, as given by the user. This thus
simply takes the average of the values of those cells. Entering
a 5 by 5 block thus averages over 25 cells.