Published May 9, 2023
| Version v0.43.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
-
Alegre, Raquel3
-
Barnes, Clair4
- Beaupré Laperrière, Alexis1
-
Biner, Sébastien5
- Caron, David6
- Ehbrecht, Carsten7
-
Fyke, Jeremy8
-
Keel, Tom3
-
Labonté, Marie-Pier1
-
Lierhammer, Ludwig9
-
Low, Jwen-Fai10
- Quinn, Jamie3
-
Roy, Philippe11
-
Squire, Dougie12
-
Stephens, Ag13
-
Tanguy, Maliko14
- Whelan, Chistopher15
- 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. Helmholtz-Zentrum Hereon, Geesthacht, Germany
- 10. Independent Researcher, Canada
- 11. Institut de recherche d'Hydro-Québec (IREQ), Varennes, Québec, Canada
- 12. Commonwealth Scientific and Industrial Research Organisation (CSIRO), Adelaide, Australia
- 13. Centre for Environmental Data Analysis (CEDA), United Kingdom
- 14. UK Centre for Ecology & Hydrology (UKCEH), Wallingford, United Kingdom
- 15. Independent Researcher, United States
Description
Contributors to this version: Trevor James Smith (@Zeitsperre), Ludwig Lierhammer (@ludwiglierhammer), Pascal Bourgault (@aulemahal), Juliette Lavoie (@juliettelavoie), Alexis Beaupré (@Beauprel), Éric Dupuis (@coxipi).
Announcements
xclimhas passed the peer-review process and been officially accepted as a project associated with both pyOpenSci and PANGEO. Additionally,xclimhas been accepted to be published in the Journal of Open Source Software. Our review process can be consulted here: PyOpenSci Software Review. (PR/1350).
New features and enhancements
- New
xclim.sdbameasurexclim.sdba.measures.taylordiagram. (PR/1360).
New indicators
ensembles.change_significancenow supports the Brown-Forsythe test. (PR/1292).
Bug fixes
- Fixed a bug in the
pyproject.tomlconfiguration that excluded the changelog (CHANGES.rst) from the packaged source distribution. (PR/1349). - When summing an all-
NaNperiod withresample,xarrayv2023.04.0 now returnsNaN, whereas earlier versions returned0. This brokefraction_over_precip_thresh, but is now fixed. (PR/1354, GH/1337). - In
xclim.sdba's Quantile Delta Mapping algorithm, the quantiles of the simulation to adjust were computed slightly differently than when creating the adjustment factor. Thexclim.sdba.utils.rankfunction has been fixed to return "percentage-ranks" (quantiles) in the proper range. (GH/1334, PR/1355). - The radiation converters (
longwave_upwelling_radiation_from_net_downwellingandshortwave_upwelling_radiation_from_net_downwelling) were hard-coded to redefine output units asW m-2, regardless of input units, so long as unit dimensions checks cleared. Units are now set directly from inputs. (GH/1365, PR/1366).
Breaking changes
- Many previously deprecated indices and indicators have been removed from
xclim(PR/1318), with replacement indicators suggested as follows:xclim.indicators.atmos.first_day_above->xclim.indicators.atmos.first_day_{tn | tg | tx}_abovexclim.indicators.atmos.first_day_below->xclim.indicators.atmos.first_day_{tn | tg | tx}_belowxclim.indicators.land.continuous_snow_cover_end->xclim.indicators.land.snd_season_endxclim.indicators.land.continuous_snow_cover_start->xclim.indicators.land.snd_season_startxclim.indicators.land.fit->xclim.indicators.generic.fitxclim.indicators.land.frequency_analysis->xclim.indicators.generic.return_levelxclim.indicators.land.snow_cover_duration->xclim.indicators.land.snd_season_lengthxclim.indicators.land.stats->xclim.indicators.generic.statsxclim.indices.continuous_snow_cover_end->xclim.indices.snd_season_endxclim.indices.continuous_snow_cover_start->xclim.indices.snd_season_startxclim.indices.snow_cover_duration->xclim.indices.snd_season_length
- Several
_privatefunctions withinxclim.indices.fire._cffwisthat had been exposed publicly have now been rendered as hidden functions. Affected functions are:_day_length,_day_length_factor,_drought_code,_duff_moisture_code,_fine_fuel_moisture_code,_overwintering_drought_code. (PR/1159, PR/1369).
Internal changes
- The testing suite has been adjusted to ensure calls are made to existing functions using non-deprecated syntax. The volume of warnings emitted during testing has been significantly reduced. (PR/1318).
- In order to follow best practices and reduce the installed size of the
xclimwheel, thetestsfolder containing the testing suite has been split from the package and placed in the top-level of the code repository. (GH/1348, PR/1349, suggested from PyOpenSci Software Review). Submodules that were previously called withinxclim.testing.testshave been refactored as follows:xclim.testing.tests.data→xclim.testing.helpersxclim.testing.tests.test_sdba.utils→xclim.testing.sdba_utils
- Added a "Conventions" section to the README. (GH/1342, PR/1351).
- New helper function
xclim.testing.helpers.test_timeseriesfor generating timeseries objects with specified variable names and units. (PR/1356). toxrecipes and documentation now refer to the official build ofSBCK, available on PyPI. (GH/1362, PR/1364).- Excluded some URLs from
sphinx linkcheckthat were causing issues on ReadTheDocs. (PR/1364). - Tagged versions of
xclim-testdatanow follow a calendar-based versioning scheme for easier determination of compatibility betweenxclimand testing data. (PR/1367, xclim-testdata discussion). flake8,pycodestyle, andpydocstylechecks have been significantly changed in order to clean up the code base of redundant# noqamarkers. Linting checks for Makefile andtoxrecipes have been synchronized as well. (PR/1369).flake8pluginflake8-alphabetizehas been added to development recipes in order to check order of__all__entries and Exceptions. (PR/1369).- Corrected translations of
cold_spell_{frequency | days}(PR/1372).
Files
Ouranosinc/xclim-v0.43.0.zip
Files
(907.2 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:b8d3d020d659e80aa19d1c04e1349d43
|
907.2 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/Ouranosinc/xclim/tree/v0.43.0 (URL)