Changelog History

xskillscore v0.0.29 (2026-02-18)

Internal Changes

  • Lifted numpy<2.4 dependency constraint and bumped minimum to numpy>=1.25. (GH444) Aaron Spring

xskillscore v0.0.28 (2026-01-19)

Bug Fixes

  • Fixed a bug introduced in v0.0.27 where numpy v1.x support was broken for some algorithms. (GH431) Trevor James Smith.

  • Removed all numpy.atleast_1d() calls that were causing numerical differences in p-value calculations with numpy v2.x and fixed several doctest expected outputs. (GH440) Aaron Spring.

Internal Changes

xskillscore v0.0.27 (2025-07-14)

Bug Fixes

  • Updated and corrected the build configurations in the GitHub workflows so that the correct Python is used when running automated build tests. (GH426) Trevor James Smith

Internal Changes

xskillscore v0.0.26 (2024-03-10)

Internal Changes

xskillscore v0.0.25 (2024-03-10)

Bug Fixes

  • rank_histogram() random_for_tied=True handles tied ranks correctly by default. random_for_tied=False ignores this and retains previous behaviour. (GH335, GH364) Aaron Spring.

  • Allow singleton dimension in resample_iterations_idx() as this is allowed in resample_iterations() also. (GH375, GH376) Aaron Spring.

Internal Changes

xskillscore v0.0.24 (2021-10-08)

Documentation

xskillscore v0.0.23 (2021-08-09)

Features

  • multipletests() controlling the false discovery rate for multiple hypothesis tests. (GH365, GH370) Aaron Spring.

Bug Fixes

Internal Changes

xskillscore v0.0.22 (2021-06-29)

Internal Changes

xskillscore v0.0.21 (2021-06-13)

Internal Changes

Documentation

Breaking changes

  • Renamed mae_test to halfwidth_ci_test to make this comparative metric generic. Now, it accepts any of the distance metrics functions except for mape. The new function has an additional argument called metric which is a string and name of the target distance metric. (GH319) Taher Chegini.

xskillscore v0.0.20 (2021-05-08)

Features

  • Specify category distribution type with input_distributions in rps() if category_edges==None that forecasts and observations are probability distributions p or cumulative distributionss c. See rps() docstrings and doctests for examples. (GH300) Aaron Spring

  • Added slope of linear fit linslope(). (GH307) Ray Bell

Internal Changes

xskillscore v0.0.19 (2021-03-12)

Features

Breaking changes

  • Aligned output of sign_test() with mae_test(). Now tests from comparative.py return more than one object including a boolean indicating signficance based on alpha. (GH209) Aaron Spring

  • Drop support for python 3.6. (GH237, GH276) Ray Bell

Bug Fixes

Internal Changes

xskillscore v0.0.18 (2020-09-23)

Features

Internal Changes

Bug Fixes

Documentation

  • Added CONTRIBUTING.md to trigger built-in Github contribution guide reference (GH181) mcsitter.

xskillscore v0.0.17 (2020-09-06)

Features

Breaking Changes

Bug Fixes

Documentation

Internal Changes

xskillscore v0.0.16 (2020-07-18)

Internal Changes

Bug Fixes

  • Avoid mutating inputted arrays when skipna=True. (GH111) Riley X. Brady.

  • Avoid read-only error that appeared due to not copying input arrays when dealing with NaNs. (GH111) Riley X. Brady.

xskillscore v0.0.15 (2020-03-24)

Features

  • Update the XSkillScoreAccessor with all metrics. Ray Bell

xskillscore v0.0.14 (2020-03-20)

Features

  • Add r2 as an implementation of sklearn.metrics.r2_score. Ray Bell

xskillscore v0.0.13 (2020-03-17)

Bug Fixes

xskillscore v0.0.12 (2020-01-09)

Internal Changes

  • ~30-50% speedup for deterministic metrics when weights=None. Aaron Spring

xskillscore v0.0.11 (2020-01-06)

Features

  • Add effective_sample_size, pearson_r_eff_p_value, and spearman_r_eff_p_value for computing statistical significance for temporally correlated data with autocorrelation. Riley X. Brady

xskillscore v0.0.10 (2019-12-21)

Deprecations

  • mad no longer works and is replaced by median_absolute_error. Riley X. Brady

Bug Fixes

  • skipna for pearson_r and spearman_r and their p-values now reports accurate results when there are pairwise nans (i.e., nans that occur in different indices in a and b) Riley X. Brady

Testing

  • Test that results from grid cells in a gridded product match the same value if their time series were input directly into functions. Riley X. Brady

  • Test that metric results from xskillscore are the same value as an external package (e.g. numpy, scipy, sklearn). Riley X. Brady

  • Test that skipna=True works properly with pairwise nans. Riley X. Brady