xarray.Dataset.climepi.temporal_group_average#
- Dataset.climepi.temporal_group_average(data_var=None, frequency='yearly', **kwargs)[source]#
Compute the group average of a data variable.
Wraps
xcdat.temporal.group_average().- Parameters:
data_var (
strorlist, optional) – Name(s) of the data variable(s) to compute the group average for. If not provided, all non-bounds data variables will be used.frequency (
str, optional) – Frequency to compute the group average for (options are ‘yearly’, ‘monthly’ or ‘daily’). Default is ‘yearly’.**kwargs (
dict, optional) – Additional keyword arguments to pass toxcdat.temporal.group_average().
- Returns:
xarray.Dataset– A new dataset containing the group average of the selected data variable(s) at the specified frequency.