Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Apr 17:29
· 796 commits to main since this release
b7d76bb

Contributors: Trevor James Smith (@Zeitsperre), Jan Haacker (@j-haacker), Éric Dupuis (@coxipi).

Changes

  • xsdba now supports Python3.13. Metadata and CI have been adjusted. (PR/105).
  • Unpinned numpy and raised minimum supported versions of a few scientific libraries. (PR/105).
  • More code that needed to be ported from xclim has been added. This includes mainly documentation, as well as testing utilities and a benchmark notebook. (PR/107).

Fixes

  • For fastnanquantile, POT, and xclim have been added to a new extras install recipe. All dependencies can be installed using the $ python -m pip install xsdba[all] command. Documentation has been added. (PR/105).
  • Several small dask-related issues (chunking behaviour, dimension order when broadcasting variables, lazy array preservation) have been fixed. (GH/112, GH/113, PR/114).
  • xsdba.processing.escore now correctly handles all-nan slices. (GH/109, PR/108).
  • xsdba now uses directly operator instead of using xarray's derived get_op function. A refactoring in xarray had changed the position of get_op which caused a bug. (PR/120).
  • For more than 1000 quantiles, fastnanquantile is not used anymore, as it would throw an error. (GH/119, PR/123).
  • Grouper now throws an error if group='time' is used with window>1. (GH/104, PR/122).

Internal changes

  • tox has been configured to test Python3.10 builds against numpy >=1.24.0,<2.0 in the GitHub Workflow pipeline. Passing the numpy keyword to tox ($ tox -e py3.10-numpy) will adjust the build. (PR/105).
  • Authorship and Zenodo metadata have been updated. Order of contributions is now developers followed by contributors in alphabetical order. (PR/116).
  • MBCn.adjust now re-performs the check on ref and hist to ensure they have compatible time arrays (the check is done a second time in adjust since ref and hist are given again). (PR/118).
  • Updated docs dependencies to use sphinx>=8.2.2. (PR/133).