This example was taken from the xarray documentation.
weights: xr.Coordinates = np.cos(np.deg2rad(da.lat))
weights.name = "weights"
This example was taken from the xarray documentation.
weights: xr.Coordinates = np.cos(np.deg2rad(da.lat))
weights.name = "weights"