standard_deviation

earthkit.transforms.ensemble.standard_deviation(*args: Any, **kwargs: Any) Dataset | DataArray

Calculate the ensemble standard deviation.

Parameters:
  • dataarray (xarray.DataArray | xarray.Dataset) – The DataArray over which to calculate the ensemble standard deviation. Must contain an ensemble dimension.

  • dim (str, optional) – Name of the ensemble dimension in the data object, default behaviour is to detect the ensemble dimension from the input object.

  • *args – Additional arguments and keyword arguments to pass to the underlying reduce function.

  • **kwargs – Additional arguments and keyword arguments to pass to the underlying reduce function.

Returns:

Data reduced to the ensemble standard deviation.

Return type:

xarray.DataArray | xarray.Dataset