ClimoDataArrayAccessor.centroid

ClimoDataArrayAccessor.centroid(dataset=None, **kwargs)[source]

Return the value-weighted average wavenumber.

Parameters
  • dataset (xarray.Dataset, optional) – The dataset.

  • **kwargs – Passed to truncate. Used to limit the bounds of the calculation.