Skip to content

Releases: Ouranosinc/xscen

v0.3.0

23 Aug 21:43
fbb1d71
Compare
Choose a tag to compare

Contributors to this version: Gabriel Rondeau-Genesse (@RondeauG), Juliette Lavoie (@juliettelavoie), Trevor James Smith (@Zeitsperre) and Pascal Bourgault (@aulemahal).

New features and enhancements

  • New function clean_up added. (GH/22, PR/24).
  • parse_directory: Fixes to xr_open_kwargs and support for wildcards (*) in the directories. (PR/19).
  • New function xscen.ensemble.ensemble_stats added. (GH/3, PR/28).
  • New functions spatial_mean, climatological_mean and deltas added. (GH/4, PR/35).
  • Add argument intermediate_reg_grids to xscen.regridding.regrid. (GH/34, PR/39).
  • Add argument moving_yearly_window to xscen.biasadjust.adjust. (PR/39).
  • Many adjustments to parse_directory: better wildcards (GH/24), allow custom columns, fastpaths for parse_from_ds, and more (PR/30).
  • Documentation now makes better use of autodoc to generate package index. (PR/41).
  • periods argument added to compute_indicators to support datasets with jumps in time (PR/35).

Breaking changes

  • Patterns in parse_directory start at the end of the paths in directories. (PR/30).
  • Argument extension of parse_directory has been renamed globpattern. (PR/30).
  • The xscen API and filestructure have been significantly refactored. (GH/40, PR/41). The following functions are available from the top-level:
    • adjust, train, ensemble_stats, clisops_subset, dispatch_historical_to_future, extract_dataset, resample, restrict_by_resolution, restrict_multimembers, search_data_catalogs, save_to_netcdf, save_to_zarr, rechunk, compute_indicators, regrid_dataset, and create_mask.
  • xscen now requires geopandas and shapely (PR/35).
  • Following a change in intake-esm xscen now uses "cat:" to prefix the dataset attributes extracted from the catalog. All catalog-generated attributes should now be valid when saving to netCDF. (GH/13, PR/51).

Internal changes

  • parse_directory: Fixes to xr_open_kwargs. (PR/19).
  • Fix for indicators removing the 'time' dimension. (PR/23).
  • Security scanning using CodeQL and GitHub Actions is now configured for the repository. (PR/21).
  • Bumpversion action now configured to automatically augment the version number on each merged pull request. (PR/21).
  • Add align_on = 'year' argument in bias adjustment converting of calendars. (PR/39).
  • GitHub Actions using Ubuntu-22.04 images are now configured for running testing ensemble using tox-conda. (PR/44).
  • import xscen smoke test is now run on all pull requests. (PR/44).
  • Fix for create_mask removing attributes (PR/35).

v0.2.0

11 Jul 13:26
d4dcd9a
Compare
Choose a tag to compare

Contributors to this version: Gabriel Rondeau-Genesse (:user:RondeauG), Pascal Bourgault (:user:aulemahal), Trevor James Smith (:user:Zeitsperre), Juliette Lavoie (:user:juliettelavoie).

Announcements

  • This is the first official release for xscen!

New features and enhancements

  • Supports workflows with YAML configuration files for better transparency, reproducibility, and long-term backups.
  • Intake_esm-based catalog to find and manage climate data.
  • Climate dataset extraction, subsetting, and temporal aggregation.
  • Calculate missing variables through Intake-esm's DerivedVariableRegistry.
  • Regridding with xESMF.
  • Bias adjustment with xclim.

Breaking changes

  • N/A

Internal changes

  • N/A