Weighted Dataset operations.
DataArray) – An array of weights associated with the values in this Dataset. Each value in the data contributes to the reduction operation according to its associated weight.
weightsmust be a DataArray and cannot contain missing values. Missing values can be replaced by