xarray.computation.weighted.DataArrayWeighted (original) (raw)

class xarray.computation.weighted.DataArrayWeighted(obj, weights)[source]#

__init__(obj, weights)[source]#

Create a Weighted object

Parameters:

Notes

weights must be a DataArray and cannot contain missing values. Missing values can be replaced by weights.fillna(0).

Methods

Attributes