Skip to main content

Module aggregate

Module aggregate 

Source
Expand description

Block and weighted aggregation: coarsen, weighted_sum, weighted_mean, dot.

Enums§

CoarsenBoundary
What coarsen does 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, like xarray.DataArray.weighted(w).mean(). Weights of null values do not count. The result is floating point.
weighted_sum
Weighted sum over axes, like xarray.DataArray.weighted(w).sum(). Null values of a count as zero. Result type follows a * weights.