Published May 19, 2026 | Version v0.15.0
Software Open

Ouranosinc/xscen: v0.15.0

Description

v0.15.0 (2026-05-19)

Contributors: Trevor James Smith (@Zeitsperre), Pascal Bourgault (@aulemahal), Asli Bese (@aslibese), Gabriel Rondeau-Genesse (@RondeauG).

New features and enhancements

  • xs.climatological_op now supports the theilslopes operation calculating the Theil-Sen slope and intercept as well as other statistical measures. (PR/721).
  • xs.climatological_op now supports daily inputs. Still best used with uniform calendar or with horizons_as_dim=True. The function now uses xs.utils.unstack_dates to ungroup the time axis in its sub-year components and it can take options from that function. (PR/701).
  • xs.spatial.get_crs now understands "lambert_conformal_conic" projections. (PR/701).
  • Add annual global tas timeseries for CMIP6's models ACCESS-ESM1-5 r11i1p1f1 (ssp370), EC-Earth3-AerChem r1i1p1f1 (ssp370), GISS-E2-1-H r1i1p1f2 (ssp370), IPSL-CM5A2-INCA r1i1p1f1 (ssp370), CanESM5-CanOE r1i1p2f1 (ssp370), FGOALS-f3-L r1i1p1f1 (ssp370), and CAMS-CSM1-0 r1i1p1f1 (ssp370) (PR/706).
  • Updated the observational series in the global warming dataset : added NOAAGlobalTempv6, Kadow_v100 and Kadow_v103, updated Berkeley. New meta-realization option for get_warming_level_from_period and get_period_from_warming_level: obs-IPCC-AR6 and obs-IPCC-updated. (PR/733).

Breaking changes

  • h5py and h5netcdf are no longer pinned. (GH/704, PR/705).
  • Development dependencies now follow the dependency-groups standard (PEP 735). (PR/715).
  • Removed JRA-55 and Berkeley-raw observational series from the global warming dataset. (PR/733).

Bug fixes

  • Fixed climatological_op when the operation is linregress so that x-intercept values are calculated more logically. (PR/721, GH/723).
  • When creating cartopy CRS objects from CF attributes, xscen will default to a spherical earth of radius 6370997 m. This fixes issues raised by the update of PROJ 9.8 (PR/701).
  • Fix a bug stemming from a change in Pandas 3 in parse_directory when read_from_file tries to overwrite a column previously parsed as strings. (PR/703).
  • Fix bug in xs.spatial_mean where the function would fail if the dataset had a crs coords instead of rotated_pole. (PR/716, GH/718).
  • Fix bug in xs.get_period_from_warming_level when requesting window > 50. (PR/722).
  • Fix bug in xs.get_period_from_warming_level and xs.get_warming_level_from_period where the functions would fail if the driving_model column of the catalog was a NaN instead of None. (PR/732).
  • Fix a bug in xs.aggregate.spatial_mean with the cos-lat method where the function would give incorrect results if the dataset had irregular grid cells. (GH/726, PR/727).
  • Fix a bug in xs.parse_directory when the {...:_} pattern is used and the parse module is newer than 1.20.2. (PR/729).

Internal changes

  • The templates folder has been added to the source distribution in order to run configuration-loading tests on conda-forge. (GH/697, PR/698).
  • A hyperlink to the xscen code repository has been added to the top-level documentation table of contents. (PR/699).
  • Added Windows and macOS builds to the GitHub CI tests (currently allowed to fail). (PR/715).
  • Updated the cookiecutter template to the latest version. (PR/715):
    • PyPI builds now test against latest xclim release.
    • Migrated developement-based optional-dependencies to dependency-groups.
    • Sets token-based workflows to run within an automation environment.
    • Updated and synchornized dependencies.
    • pre-commit has been replaced by prek.
    • Makefile now handles some dependency installation logic.
    • tox.toml has been adjusted to use Makefile commands.
    • tox.toml no longer reinstalls h5py explicitly.
  • Added acknowledgement of funding support and Ouranos logo to documentation landing page and README.rst. (PR/724).

Files

Ouranosinc/xscen-v0.15.0.zip

Files (917.2 kB)

Name Size Download all
md5:a95f3095a46dde14e8a3b9da65534083
917.2 kB Preview Download

Additional details

Related works

Software