Published November 4, 2024
| Version v0.10.1
Software
Open
Ouranosinc/xscen: v0.10.1
Description
Changelog
v0.10.1 (2024-11-04)
Contributors to this version: Gabriel Rondeau-Genesse (@RondeauG), Pascal Bourgault (@aulemahal), Éric Dupuis (@coxipi), Juliette Lavoie (@juliettelavoie ).
New features and enhancements
xs.io.make_tocnow includes the global attributes of the dataset after the information about the variables. (PR/473).- New function
xs.get_warming_level_from_periodto get the warming level associated with a given time horizon. (PR/474). - Added ability to skip whole folders to
xs.parse_directorywith argumentskip_dirs. (PR/478, PR/479). diagnostics.measures_improvementnow acceptsdim, which specifiesdimension(s)on which the proportion of improved pixels are computed. (PR/416)- The argument
indicatorsinxs.produce_horizonis now optional. Added an argumentopto control the climatological operation. (PR/483).
Breaking changes
xs.get_warming_levelhas been renamed toxs.get_period_from_warming_level. Its argumentreturn_horizonwas reversed and renamedreturn_central_year(PR/474).- Removed support for the deprecated
xclimfunctionchange_significanceinensemble_stats. (PR/482). - The argument
indicatorsinxs.produce_horizonis no longer positional. (PR/483).
Bug fixes
xs.io.save_to_tablenow correctly handles the case where the input is aDataArrayor aDatasetwith a single variable. (PR/473).- Fixed a bug in
xs.utils.change_unitswhere the original dataset was also getting modified. (PR/482). - Fixed a bug in
xs.compute_indicatorswhere thecat:variableattribute was not correctly set. (PR/483). - Fixed a bug in
xs.climatological_opwhere kwargs were not passed to the operation function. (PR/486). - Fixed a bug in
xs.climatological_opwheremin_periodswas not passed when the operation waslinregress. (PR/486).
Internal changes
- Include CF convention for temperature differences and on scale (PR/428, GH/428).
- Bumped the version of
xclimto 0.53.2. (PR/482). - More tests added. (PR/486).
- Fixed a bug in
xs.testing.datablock_3dwhere some attributes of the rotated pole got reversed half-way through the creation of the dataset. (PR/486). - The function
xs.regrid._get_grid_mappingwas moved toxs.spatial.get_grid_mappingand is now a public function. (PR/486).
Files
Ouranosinc/xscen-v0.10.1.zip
Files
(783.4 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:ecbaac0822ab0a844a607463f4c7d9e1
|
783.4 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/Ouranosinc/xscen/tree/v0.10.1 (URL)