diagnostic.functions.annual_cycle#
- annual_cycle(ds: Dataset)[source]#
Calculate the annual cycle of the data. If lat and lon are present, the data is averaged over the spatial dimensions lat and lon.
- Parameters:
ds (xr.Dataset) – The data to calculate the annual cycle of.
- Returns:
The annual cycle of the data.
- Return type:
xr.Dataset