Published June 17, 2024
| Version v0.50.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
- 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
Description
Contributors to this version: Trevor James Smith (@Zeitsperre), Éric Dupuis (@coxipi).
New features and enhancements
- New properties: Bivariate Spell Length (
xclim.sdba.properties.bivariate_spell_length), Generalized Spell Lengths with an argument forwindow, and Specific Spell Lengths withwindowfixed to '1' (xclim.sdba.properties.threshold_count,xclim.sdba.properties.bivariate_threshold_count). (PR/1758). - New option
normalizeinsdba.measures.taylordiagramto obtain normalized Taylor Diagrams (divide standard deviations by standard deviation of the reference). (PR/1764).
Breaking changes
pinthas been pinned below v0.24 untilxclimcan be updated to support the latest version. (GH/1771, PR/1772).numpyhas been pinned below v2.0.0 untilxclimcan be updated to support the latest version. (PR/1783).- Calendar utilities that have an equivalent in
xarrayhave been deprecated and will be removed inxclimv0.51.0. (GH/1010, PR/1761). This concerns the following members ofxclim.core.calendar:convert_calendar: UseDataset.convert_calendar,DataArray.convert_calendarorxr.coding.calendar_ops.convert_calendarinstead.- If your code passes
targetas an array, first convert the source to the target's calendar and then reindex the result totarget. - If you were using the
doy=Trueoption, replace it withxc.core.calendar.convert_doy(source, target_cal).convert_calendar(target_cal). "default"is no longer a valid calendar name for any xclim functions and will not be returned byget_calendar. Xarray has ause_cftimeargument, xclim exposes it when the distinction is needed.
- If your code passes
date_range: Usexarray.date_rangeinstead.date_range_like: Usexarray.date_range_likeinstead.interp_calendar: UseDataset.interp_calendarorxarray.coding.calendar_ops.interp_calendarinstead.days_in_year: Usexarray.coding.calendar_ops._days_in_yearinstead.datetime_to_decimal_year: Usexarray.coding.calendar_ops._datetime_to_decimal_yearinstead.
Internal changes
- Synchronized tooling versions across
pyproject.tomlandtox.iniand pinned them to the latest stable releases in GitHub Workflows. (PR/1744). - Fixed a few small spelling and grammar issues that were causing errors with
codespell. Now ignoringSVGfiles. (PR/1769). - Temporarily skipping the
test_hawkins_sutton_smoketest due to strange behaviour withxarray. (PR/1769). - Fixed some previously uncaught errors raised from recent versions of
pylintandcodespell. (PR/1772). - Set the
doctestexamples to all useh5netcdfwith worker-separated caches to load datasets. (PR/1772).
Bug fixes
Files
Ouranosinc/xclim-v0.50.0.zip
Files
(1.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:3d57e1ac2fa89d1e215196ed1e5bfaec
|
1.0 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/Ouranosinc/xclim/tree/v0.50.0 (URL)