Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

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"