ClimoAccessor.sum

ClimoAccessor.sum(dim=None, skipna=None, weight=None, **kwargs)[source]

Return the sum along dimension(s), preserving attributes and coordinates.

Parameters
  • dim (str or list of str, optional) – The dimensions.

  • skipna (bool, optional) – Whether to skip NaN values.

  • weight (xr.DataArray, optional) – Optional weighting.

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