Skip to article frontmatterSkip to article content

Spatial Averaging

CSIC
UCM
IGEO

This example was taken from the xarray documentation.

weights: xr.Coordinates = np.cos(np.deg2rad(da.lat))
weights.name = "weights"