There is a newer version of the record available.

Published October 30, 2025 | Version v0.59.0

xclim: xarray-based climate data analytics

  • 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
  • 19. GeoSphere Austria, Vienna, Austria
  • 20. University of Canterbury, Christchurch, New Zealand
  • 21. University of Toronto, Toronto, Ontario, Canada
  • 22. Vrije Universiteit, Amsterdam, The Netherlands
  • 23. Julius-Maximilians-Universität, Würzburg, Germany

Description

Contributors to this version: Pascal Bourgault (@aulemahal), Trevor James Smith (@Zeitsperre), Sascha Hofmann (@saschahofmann).

New indicators and features

  • xclim.ensembles.robustness_fractions now accepts instances of xclim.core.missing classes as a new invalid argument to control how data points are flagged as invalid. (PR/2245).
  • xclim.indices.stats.fit now returns NaNs when running with method PWD and a lmoments distribution. Before it failed with an L-Moments invalid error. (GH/2235, PR/2239).

Breaking changes

  • The relative humidity computations from specific humidity, pressure and temperature (vapor_pressure and relative_humidity) were modified to use the fraction of vapour pressure to saturation vapour pressure instead of an incomplete equation with the mixing ratios. Changes are small, but sometimes not negligible. (PR/2254).
  • black and blackdoc are no longer required for development. ruff is now exclusively used for code and code-block formatting. (PR/2249).
  • Python HDF5 libraries now have lower pins to ensure modern versions are preferably installed (h5netcdf >=1.5.0 and h5py >=3.12.1) (PR/2253).

Bug fixes

  • Fix dimensions of "prsn" in the variable dictionary. (PR/2242).
  • History is not written to the DataArray if the as_dataset option is activated. (GH/2240, PR/2251).
  • xclim.core.formatting.update_history now places the updated history at the top of the new attribute, not at the bottom. (PR/2251).
  • $ xclim info CLI utility now provides information for module-loaded indicators (cf, anuclim, icclim). (GH/2219, PR/2255).
  • A few functions have been adapted to the new xarray default (True) for option keep_attrs. (GH/2250, PR/2257).

Internal changes

  • Fixed an issue with a test that can fail when running with older versions of numpy. (PR/2253).
  • Updated flit to v3.11.0 and adopted PEP 639 for specifying licensing metadata. (PR/2260).

Files

Ouranosinc/xclim-v0.59.0.zip

Files (1.0 MB)

Name Size Download all
md5:5ea3f29217cb7f3802659768f4d560f9
1.0 MB Preview Download

Additional details

Related works

Software