Weighted means

When coarsening land/ocean variables, the coarsening method needs to be aware of the ocean/land fraction of each cell. Maybe this functionality can be generalised to a weighted mean with some default convenient methods (e.g. "ocean fraction")