Published August 8, 2024
| Version v0.52.0
Software
Open
xclim: xarray-based climate data analytics
Authors/Creators
-
Bourgault, Pascal1
-
Huard, David1
-
Smith, Trevor James1
-
Logan, Travis1
-
Aoun, Abel2
-
Lavoie, Juliette1
-
Dupuis, Éric1
-
Rondeau-Genesse, Gabriel1
-
Gammon, Sarah1
-
Alegre, Raquel3
-
Barnes, Clair4
- Beaupré Laperrière, Alexis1
-
Biner, Sébastien5
- Caron, David6
- Ehbrecht, Carsten7
-
Fyke, Jeremy8
-
Keel, Tom3
-
Labonté, Marie-Pier9
-
Lierhammer, Ludwig10
-
Low, Jwen-Fai11
- Quinn, Jamie3
-
Roy, Philippe12
-
Squire, Dougie13
-
Stephens, Ag14
-
Tanguy, Maliko15
- Whelan, Chistopher16
-
Braun, Marco9
- Castro, Dante10
-
Diez-Sierra, Javier17
-
Lamarche, Adrien
-
Wang, Hui-Min18
- 1. Ouranos, Montréal, Québec, Canada
- 2. Centre européen de recherche et de formation avancée en calcul scientifique (CERFACS), Toulouse, France
- 3. University College London, London, United Kingdom
- 4. University College London, London, United Kingdom, and The Grantham Institute for Climate Change and the Environment, Imperial College London, London, United Kingdom
- 5. Hydro-Québec, Québec, Canada
- 6. Jakarto, Montréal, Québec, Canada
- 7. Deutsches Klimarechenzentrum (DKRZ), Hamburg, Germany
- 8. Environment and Climate Change Canada (ECCC), Canada
- 9. Ouranos Consortium, Montréal, Québec, Canada
- 10. Helmholtz-Zentrum Hereon, Geesthacht, Germany
- 11. Independent Researcher, Canada
- 12. Institut de recherche d'Hydro-Québec (IREQ), Varennes, Québec, Canada
- 13. Commonwealth Scientific and Industrial Research Organisation (CSIRO), Adelaide, Australia
- 14. Centre for Environmental Data Analysis (CEDA), United Kingdom
- 15. UK Centre for Ecology & Hydrology (UKCEH), Wallingford, United Kingdom
- 16. Independent Researcher, United States
- 17. Santander Meteorology Group, Instituto de Física de Cantabria (CSIC-UC), Santander, Spain
- 18. National University of Singapore, Singapore, Singapore
Description
Contributors to this version: David Huard (@huard), Trevor James Smith (@Zeitsperre), Hui-Min Wang (@Hem-W), Éric Dupuis (@coxipi), Sarah Gammon (@SarahG-579462), Pascal Bourgault (@aulemahal), Juliette Lavoie (@juliettelavoie), Adrien Lamarche (@LamAdr).
Announcements
xclimnow supports bothnumpyversions>=1.20and>=2.0. (GH/1785, PR/1814, PR/1870).xclimnow needscf_xarray>=0.9.3but continues to support older versions ofpint(<0.24) for compatibility reasons. (PR/1870).
New features and enhancements
xclim.sdba.nbutils.quantileand its child functions are now faster. If thefastnanquantilelibrary is installed, it is used as the backend for the computation of quantiles and yields even faster results. This dependency is now listed in thexclim[extras]recipe. (GH/1255, PR/1513).- New multivariate bias adjustment class
MBCn, giving a faster and more accurate implementation of theMBCnalgorithm. (GH/1551, PR/1580). - New multivariate bias adjustment classes
OTCanddOTC. Requires thePOTlibrary which can be installed via thexclim[extras]recipe. (PR/1787). xclimis now compatible withpytestversions>=8.0.0. (PR/1632).
Breaking changes
- As of
cf_xarray>=0.9.3, dimensionless quantities now use the"1"units attribute as specified by the CF conventions, previously an empty string was returned. (PR/1814). - The definitions of the
frost_free_season_startandfrost_free_season_endhave been slightly changed to be coherent with thefrost_free_season_lengthandxclim's notion ofseasonin general. Indicator and indices signature have been adapted to the new conventions. (PR/1845). - Season length indicators have been modified to return
0for all cases where a proper season was not found, but the data is valid. Previously, ananwas given if neither a start nor an end were found, even if the data was valid, and a0was given if an end was found but without a valid start. (PR/1845).
Bug fixes
- Fixed the indexer bug in the
xclim.indices.standardized_index_fit_paramswhen multiple or non-array indexers are specified and fitted parameters are reloaded from netCDF. (GH/1842, PR/1843). - Addressed a bug found in
wet_spell_*indicators that was contributing to erroneous results. A new generic spell length statistic function (xclim.indices.generic.spell_length_statistics) is now used in wet and dry spells indicators. (GH/1834, PR/1838). - Syntax for
nanandinfwas adapted to supportnumpy>=2.0. (PR/1814, GH/1785). - The type in
jitternow works with modern version ofdask(>=2024.8.0). (PR/1864).
Internal changes
- Changed the French translation of "wet days" from "jours mouillés" to "jours pluvieux". (GH/1825, PR/1826).
- In order to adapt to changes in
pytest, the doctest fixtures have been split from the main testing suite and doctests are now run using$ python -c 'from xclim.testing.utils import run_doctests; run_doctests()'. (PR/1632). toxhas been reconfigured to run doctests in a separate environment (tox -e doctests). (PR/1632).- Added
xclim.indices.generic.seasonto make season start, end, and length indices. Added astatargument toxclim.indices.run_length.seasonto avoid returning a dataset. (PR/1845).
CI changes
pip-tools(pip-compile) has been used to generate a lock file with hashes for the CI dependencies. (PR/1841).- The
main.ymlworkflow has been updated to use simpler trigger logic. (PR/1841). - A workflow bug has been fixed that was causing multiple duplicate comments to be made on Pull Requests originating from forks. (PR/1841).
- The
upstream.ymlworkflow was adapted to not install upstream Python dependencies using hashes (as it is impossible to install directly from GitHub sources using--require-hashes). (PR/1859). - The
tox-ghconfiguration has been set to handle the environment configurations on GitHub Workflows. The tox.ini file is also a bit more organized/consistent. (PR/1859).
Files
Ouranosinc/xclim-v0.52.0.zip
Files
(1.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:001e9392434fc6426fc191d6737cd2f0
|
1.1 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/Ouranosinc/xclim/tree/v0.52.0 (URL)