Published February 17, 2025
| Version v0.55.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
-
Lehner, Sebastian19
-
Hamon, Baptiste20
- 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
Description
Contributors to this version: Juliette Lavoie (@juliettelavoie), Trevor James Smith (@Zeitsperre), Sascha Hofmann (@saschahofmann), Pascal Bourgault (@aulemahal), Éric Dupuis (@coxipi), Baptiste Hamon (@baptistehamon), Sarah Gammon (@SarahG-579462).
Breaking changes
- Missing value method "WMO" was modified to remove the criterion that the timeseries needs to be continuous (without holes). (PR/2058).
Announcements
xclimnow officially supports Python 3.13 (usingnumbav0.61.0). (GH/2022, PR/2054).xclimversion 0.55.0 will be the last version to support Python 3.10. The next version will require Python 3.11 or higher. (PR/2054).
New indicators
- Added
xclim.land.holiday_snow_daysto compute the number of days with snow on the ground during holidays ("Christmas Days"). (GH/2029, PR/2030). - Added
xclim.land.holiday_snow_and_snowfall_daysto compute the number of days with snow on the ground and measurable snowfall during holidays ("Perfect Christmas Days"). (GH/2029, PR/2030). - Added
xclim.atmos.vapor_pressure_deficitto compute the vapor pressure deficit from temperature and relative humidity. (GH/1917, PR/2072).
New features and enhancements
- New function
ensemble.partition.general_partition. (PR/2035). - Added a new
xclim.indices.generic.bivariate_count_occurrencesfunction to count instances where operations and performed and validated for two variables. (PR/2030). xclim.testing.helpers.test_timeseriesnow accepts acalendarargument that is forwarded toxr.cftime_range. (PR/2019).- New
xclim.indices.fao_allen98, exporting the FAO-56 Penman-Monteith equation for potential evapotranspiration (GH/2004, PR/2067). - Missing values method "pct" and "at_least_n" now accept a new "subfreq" option that allows to compute the missing mask in two steps. When given, the algorithm is applied at this "subfreq" resampling frequency first and then the result is resampled at the target indicator frequency. In the output, a period is invalid if any of its subgroup where flagged as invalid by the chosen method. (PR/2058, GH/1820).
scipy.stats.rv_continuousinstances can now be given directly as thedistargument instandardized_precipitation_indexandstandardized_precipitation_evapotranspiration_indexindicators. This includeslmoments3distributions when specifyingmethod="PWM". (GH/2043, PR/2045).- Time selection in
xclim.core.calendar.select_timeand the**indexerargument of indicators now supports day-of-year bounds given as DataArrays with spatial and/or temporal dimensions. (GH/1987, PR/2055). - Maximum Spacing Estimation method for distribution fitting has been added to
xclim.indices.stats.fit(GH/2078, PR/2077)
Bug fixes
- Fixed a bug in
xclim.sdba.Grouper.get_indexthat didn't correctly interpolate seasonal values (GH/2014, PR/2019). - Fixed a bug where
xclim.indicators.atmos.potential_evapotranspirationwould return wrong results whenhurswas provided in%(PR/2067). - Fixed the default "op" argument of
xclim.atmos.growing_season_end(GH/2056, PR/2080). - Removed the useless "thresh" argument from
xclim.atmos.precip_accumulation(GH/1763, PR/2080).
Internal changes
- Adjusted the
TestOfficialYamltest to use a dynamic method for finding the installed location ofxclim. (PR/2028). - Adjusted two tests for better handling when running in Windows environments. (PR/2057).
- Refactor of the
xclim.core.missingmodule, usage of theMissingobjects has been broken. (PR/2058, PR/2055, PR/2076, GH/1820, GH/2000).- Objects are initialized with their options and then called with the data, input frequency, target frequency and indexer.
- Subclasses receive non-resampled DataArray in their
is_missingmethods. - Subclasses receive the array of valid timesteps
validinstead ofnull, the invalid ones. MissingWMOnow usesxclim.indices.helpers.resample_mapwhich should greatly improve performance in a dask context.
- There is now a warning stating that
fitkwargsare not employed when using thelmoments3distribution. One exception is the use of'floc'which is allowed with the gamma distribution.'floc'is used to shift the distribution before computing fitting parameters with thelmoments3distribution sinceloc=0is always assumed in the library. (GH/2043, PR/2045). xclimnow tracks energy usage and carbon emissions ("last run", "average", and "total") during CI workflows using theeco-ci-energy-estimationGitHub Action. (PR/2046).
Files
Ouranosinc/xclim-v0.55.0.zip
Files
(1.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:ec5976cacc138af2e970edcfa6bc8af3
|
1.1 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/Ouranosinc/xclim/tree/v0.55.0 (URL)
Software
- Repository URL
- https://github.com/Ouranosinc/xclim