Expand description
Block and weighted aggregation: coarsen, weighted_sum, weighted_mean, dot.
Enums§
- Coarsen
Boundary - What
coarsendoes when a dimension is not a multiple of its window.
Functions§
- coarsen
- Reduce non-overlapping blocks, like
xarray.DataArray.coarsen. - dot
- Sum of products over the named shared dimensions, like
xarray.dot. - weighted_
mean - Weighted mean over
axes, likexarray.DataArray.weighted(w).mean(). Weights of null values do not count. The result is floating point. - weighted_
sum - Weighted sum over
axes, likexarray.DataArray.weighted(w).sum(). Null values ofacount as zero. Result type followsa * weights.