monthly_mean¶
- earthkit.transforms.climatology.monthly_mean(*_args, **_kwargs) Dataset | DataArray[source]¶
Calculate the monthly climatological mean.
- Parameters:
dataarray (xarray.DataArray) – The DataArray over which to calculate the climatological mean. Must contain a time dimension.
bin_widths (int or list (optional)) – If bin_widths is an int, it defines the width of each group bin on the frequency provided by frequency. If bin_widths is a sequence it defines the edges of each bin, allowing for non-uniform bin widths.
time_dim (str (optional)) – Name of the time dimension in the data object, default behaviour is to detect the time dimension from the input object
**reduce_kwargs – Any other kwargs that are accepted by earthkit.transforms.aggregate.reduce (except how)
- Return type: