diagnostic.functions.perkins_skill_score#

perkins_skill_score(da: DataArray, ref: DataArray, binwidth: float = None)[source]#

Calculate the Perkins Skill Score (PSS).

Parameters:
  • da (xr.DataArray) – The model data to compare.

  • ref (xr.DataArray) – The reference data to compare against.

  • binwidth (float) – The width of each bin for the histogram. If not provided, it is calculated.

Returns:

The Perkins Skill Score (PSS).

Return type:

float