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

class xarray.computation.weighted.DatasetWeighted(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