Recent Releases of xsdba
xsdba - v0.5.0
Contributors: Trevor James Smith (@Zeitsperre), Éric Dupuis (@coxipi), Juliette Lavoie (@juliettelavoie), Pascal Bourgault (@aulemahal).
Changes
- Make additional grouping dimensions optional for methods accepting the
groupargument, exceptLociandPrincipalComponents. (GH/99, GH/144, PR/151). - Speed up import by activating
cache=Truefor in numba-accelerated functions fromxsdba.nbutils. (PR/135). - Added a new installation recipe (
pip install xsdba[sbck]) for installing theSBCKpackage. (PR/139):- Note that
SBCKsupport is experimental and that thepybind11library must be installed prior to installingSBCK.
- Note that
- New functions related to spectral properties in Fourier space:
xsdba.units.convert_units_tonow wraps a private function_convert_units_to. (PR/145).xsdba.jitter_over_threshis available directly in training methods by passing thejitter_over_thresh_valueandjitter_over_thresh_upper_bndarguments. (PR/110).- Throw an error if
group=Grouper('5D',window)is used with a biasadjust method other thanMBCn(PR/162). xsdba.processing.to_additive_spaceacceptsclip_next_to_bounds, which avoids infinities by ensuringlower_bound < data < upper_bound. (GH/164, PR/165).- Allow nan values in
xsdba.measures.rmseandxsdba.measures.mae. (PR/170). - The adaptation of frequencies through
adapt_freq_thresh_valueis now applied in the adjusting step as well. (PR/160). xsdba.adjustment.ExtremeValuesnow accepts a DataArray forcluster_thresh, letting specify distinct thresholds for multiple locations. (GH/177, PR/179).- Updated minimum supported versions of
SBCK(v1.4.2) andnumpy(v1.25). (PR/180).
Fixes
- Fix
xsdba.base.get_coordinatesto avoid using a private xarray function.(PR/147, GH/148). - Fix
xsdba.processing.from_additive_spaceto handles units correctly by usingconvert_units_toinstead ofharmonize_units. (PR/146). - Fix the order of
clip_next_to_boundsinxsdba.processing.to_additive_space. (PR/169).
Internal changes
- The
toxand CI configurations now support the installation ofSBCKandEigen3for testing purposes. (PR/139). - The
coverallstox keyword has been renamed tocoverageto avoid confusion with thecoverallsservice. (PR/139). - The order of arguments in the following private functions was changed:
xsdba._adjustment.{_fit_on_cluster,_fit_cluster_and_cdf, _extremes_train_1d}(PR/179). - Updated the package metadata to reflect development progress and list user @aulemahal as a primary developer (PR/180).
- Python
Published by github-actions[bot] 9 months ago
xsdba - v0.4.0
Contributors: Trevor James Smith (@Zeitsperre), Jan Haacker (@j-haacker), Éric Dupuis (@coxipi).
Changes
xsdbanow supports Python3.13. Metadata and CI have been adjusted. (PR/105).- Unpinned
numpyand raised minimum supported versions of a few scientific libraries. (PR/105). - More code that needed to be ported from
xclimhas been added. This includes mainly documentation, as well as testing utilities and a benchmark notebook. (PR/107).
Fixes
- For
fastnanquantile,POT, andxclimhave been added to a newextrasinstall 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.escorenow correctly handles all-nan slices. (GH/109, PR/108).xsdbanow uses directlyoperatorinstead of usingxarray's derivedget_opfunction. A refactoring inxarrayhad changed the position ofget_opwhich caused a bug. (PR/120).- For more than 1000 quantiles,
fastnanquantileis not used anymore, as it would throw an error. (GH/119, PR/123). Groupernow throws an error ifgroup='time'is used withwindow>1. (GH/104, PR/122).
Internal changes
toxhas been configured to test Python3.10 builds againstnumpy >=1.24.0,<2.0in the GitHub Workflow pipeline. Passing thenumpykeyword totox($ 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.adjustnow re-performs the check onrefandhistto ensure they have compatible time arrays (the check is done a second time inadjustsincerefandhistare given again). (PR/118).- Updated
docsdependencies to usesphinx>=8.2.2. (PR/133).
- Python
Published by github-actions[bot] 12 months ago
xsdba - v0.3.2
Contributors: Trevor James Smith (Zeitsperre).
This is a patch fix in order to ensure that all necessary runtime dependencies are marked in the package.
Refer to https://github.com/Ouranosinc/xsdba/releases/tag/v0.3.0 for the summary of changes.
Fixes
- Packaging and security adjustments. (PR/106):
- Added
deptry,codespell,vulture, andyamllintto the dev dependencies. - Added a few transitive dependencies (
packaging,pandas) to the core dependencies. - Added
fastnanquantileto thedevdependencies (to be placed in anextrasrecipe forxsdbav0.4.0+). - Configured
deptryto handle optional imports. - A new Makefile command
lint/securityhas been added (called when running$ make lint). - Updated
tox.iniwith new linting dependencies.
- Added
- Python
Published by Zeitsperre about 1 year ago
xsdba - v0.3.1
Contributors: Trevor James Smith (Zeitsperre).
This is a patch fix in order to ensure the documentation properly renders.
Refer to https://github.com/Ouranosinc/xsdba/releases/tag/v0.3.0 for the summary of changes.
Changes
- Added
POTto the development dependencies. (PR/96).
Fixes
- Adjusted the documentation dependencies and the
sphinxconfiguration to fix the ReadTheDocs build. (PR/96).
- Python
Published by Zeitsperre about 1 year ago
xsdba - v0.3.0
Contributors: Pascal Bourgault (@aulemahal), Éric Dupuis (@coxipi), Trevor James Smith (@Zeitsperre).
Announcements
xsdbais now available as a package on the Anacondaconda-forgechannel. (PR/82).
Changes
- Remove the units registry declaration and instead use whatever is set as pint's application registry.
Code still assumes it is a registry based upon the one in cf-xarray (which exports the
cfformatter). (GH/44, PR/57). - Updated the cookiecutter template to use the latest version of
cookiecutter-pypackage. (PR/71):- Python and GitHub Actions versions have been updated.
- Now using advanced CodeQL configuration.
- New pre-commit hooks for
vulture(find dead code),codespell(grammatical errors),zizmor(workflow security), andgitleaks(token commit prevention). - Corrected some minor spelling and security issues.
- Added
upstreamtesting to the CI pipeline for both daily and push events. (PR/61). - Import last changes in xclim before the embargo (PR/80).
xsdbahas begun the process of adoption of the OpenSSF Best Practices checklist. (PR/82).xclimmigration guide added. (GH/62, PR/86).- Add a missing
dOTCexample to documentation. (PR/86). - Add a new grouping method specific for
MBCnwhich called by passinggroup=Grouper("5D", window=n)wherenis an odd positive integer. (PR/79).
Fixes
- Gave credits to the package to all previous contributors of
xclim.sdba. (GH/58, PR/59). - Pin
sphinx-codeautolinkto fix ReadTheDocs and correct some docs errors. (PR/40). - Removed reliance on the
netcdf4package for testing purposes. Theh5netcdfengine is now used for file IO operations. (PR/71). - Changes to reflect the change of library name
xsdba. (PR/72). - Revert changes to allow using
group="time.dayofyear"andinterp="linear"in adjustment methods. (PR/86).
- Python
Published by github-actions[bot] about 1 year ago
xsdba - v0.2.0
What's Changed
- Bump ossf/scorecard-action from 2.3.3 to 2.4.0 in /.github/workflows by @dependabot in https://github.com/Ouranosinc/xsdba/pull/9
- Bump pip from 24.1.2 to 24.2 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/11
- Bump github/codeql-action from 3.25.13 to 3.25.15 in /.github/workflows by @dependabot in https://github.com/Ouranosinc/xsdba/pull/10
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/Ouranosinc/xsdba/pull/12
- Fast-forward cookiecutter by @Zeitsperre in https://github.com/Ouranosinc/xsdba/pull/13
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/Ouranosinc/xsdba/pull/21
- Bump bump-my-version from 0.25.1 to 0.26.0 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/20
- Bump tox from 4.17.1 to 4.18.0 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/19
- Bump actions/setup-python from 5.1.1 to 5.2.0 in /.github/workflows by @dependabot in https://github.com/Ouranosinc/xsdba/pull/18
- Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 in /.github/workflows by @dependabot in https://github.com/Ouranosinc/xsdba/pull/16
- Bump step-security/harden-runner from 2.9.0 to 2.9.1 in /.github/workflows by @dependabot in https://github.com/Ouranosinc/xsdba/pull/17
- Bump github/codeql-action from 3.25.15 to 3.26.6 in /.github/workflows by @dependabot in https://github.com/Ouranosinc/xsdba/pull/15
- Bump actions/upload-artifact from 4.3.4 to 4.4.0 in /.github/workflows by @dependabot in https://github.com/Ouranosinc/xsdba/pull/14
- fast-forward cookiecutter, apply mamba v2.0 fix by @Zeitsperre in https://github.com/Ouranosinc/xsdba/pull/29
- Bump the actions group in /.github/workflows with 6 updates by @dependabot in https://github.com/Ouranosinc/xsdba/pull/30
- Bump bump-my-version from 0.26.0 to 0.26.1 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/22
- Bump tox from 4.18.0 to 4.21.0 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/23
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/Ouranosinc/xsdba/pull/31
- Bump the actions group in /.github/workflows with 11 updates by @dependabot in https://github.com/Ouranosinc/xsdba/pull/37
- Bump bump-my-version from 0.26.1 to 0.28.0 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/36
- Bump tox from 4.21.0 to 4.23.2 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/35
- Bump pip from 24.2.0 to 24.3.1 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/32
- Bump tox-gh from 1.3.2 to 1.4.1 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/33
- Bump flit from 3.9.0 to 3.10.1 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/38
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/Ouranosinc/xsdba/pull/40
- fast-forward cookiecutter by @Zeitsperre in https://github.com/Ouranosinc/xsdba/pull/39
- Bump bump-my-version from 0.28.0 to 0.28.1 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/42
- Bump the actions group in /.github/workflows with 6 updates by @dependabot in https://github.com/Ouranosinc/xsdba/pull/41
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/Ouranosinc/xsdba/pull/43
- Split from xclim by @coxipi in https://github.com/Ouranosinc/xsdba/pull/8
- Sync dependencies, update cookiecutter by @Zeitsperre in https://github.com/Ouranosinc/xsdba/pull/45
- Bump the actions group in /.github/workflows with 7 updates by @dependabot in https://github.com/Ouranosinc/xsdba/pull/51
- Update pytest requirement from <8.0.0 to <9.0.0 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/47
- Bump bump-my-version from 0.28.1 to 0.29.0 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/50
- Bump flit from 3.9.0 to 3.10.1 by @dependabot in https://github.com/Ouranosinc/xsdba/pull/49
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/Ouranosinc/xsdba/pull/52
- Update readme docs by @coxipi in https://github.com/Ouranosinc/xsdba/pull/46
- Prep v02 by @coxipi in https://github.com/Ouranosinc/xsdba/pull/54
- Improve doc by @coxipi in https://github.com/Ouranosinc/xsdba/pull/55
- Trigger release by @Zeitsperre in https://github.com/Ouranosinc/xsdba/pull/56
New Contributors
- @pre-commit-ci made their first contribution in https://github.com/Ouranosinc/xsdba/pull/12
- @coxipi made their first contribution in https://github.com/Ouranosinc/xsdba/pull/8
Full Changelog: https://github.com/Ouranosinc/xsdba/compare/v0.1.0...v0.2.0
- Python
Published by github-actions[bot] about 1 year ago