diagnostic.functions.diurnal_cycle_bias#

diurnal_cycle_bias(ds: Dataset, ref: Dataset, calc_relative=False)[source]#

Calculate the diurnal cycle bias of the data compared to the reference. If lat and lon are present, ds and ref is averaged over the spatial dimensions lat and lon.

Parameters:
  • ds (xr.Dataset) – The data to calculate the diurnal cycle bias of.

  • ref (xr.Dataset) – The reference data to compare the data to.

  • calc_relative (bool, optional) – If True, return the calc_relative bias, by default False

Returns:

The diurnal cycle bias of the data compared to the reference.

Return type:

xr.Dataset