Published February 17, 2026
| Version v0.14.0
Software
Open
Ouranosinc/xscen: v0.14.0
Description
Contributors: Juliette Lavoie (@juliettelavoie), Gabriel Rondeau-Genesse (@RondeauG), Trevor James Smith (@Zeitsperre), Pascal Bourgault (@aulemahal).
New features and enhancements
- xscen now supports numcodecs > 0.16, Pandas 3 and Python 3.14 (PR/692).
- The
group=Falseoption was added toxs.trainto completely skip this argument when callingxsdba. (PR/668). - The
stack_periodsargument was added toxs.adjustto pass arguments toxsdba.stack_periodsbefore adjustment. (PR/668). - A conversion from geopotential to orography has been added to the xclim modules. (PR/673).
- Add
fill_nan_dsoption to clean_up to fill NaNs in one dataset from value of another dataset. (PR/679). - Warnings of
xs.health_checksare now added as an attribute to the returned dataset. (PR/679). - Make it possible to zip automatically after saving to zarr in
xs.save_to_zarr. - A conversion from geopotential to orography has been added to the
xclimmodules. (PR/673). - Add
zip_zarrdirandzip_kwargsoptions toxs.io.save_to_zarrto automatically zip the zarr directory after saving. (PR/679). - Add helper functions for handling station data and spatial suff: (PR/619).
xs.spatial.merge_duplicated_stations: Merge colocated stations.xs.spatial.voronoi_weights: Compute weights for each station inversely proportional to they density, according to a Voronoi diagram.xs.spatial.dataset_extent: Get a lat/lon shape or bbox describing the spatial extent of a gridded dataset.
- Add support for daily frequencies to
xs.utils.unstack_dates. Argumentwinter_starts_yearhas been deprecated in favor ofyear_month_startallowing for more flexibility (PR/619). - Add a fast-track to
xs.spatial.subset(..., 'gridpoint')when fancier clisops options are not requested. (PR/619).
Bug fixes
- Floor time in the preprocess of
extract_dataset. (PR/660, PR/660). - dtype encodings are now removed before saving in
save_to_netcdfandsave_to_zarr, since it could create inconsistencies. Dtypes should instead be handled through kwargs. (PR/665). - Coordinates with dask chunks will now correctly be chunked if using the
rechunkoption inxs.io.save_to_netcdfandxs.io.save_to_zarr. (PR/673). xs.io.estimate_chunksnow returns the length of the dimension instead of -1 to avoid potential 'OverflowError: can't convert negative value to hsize_t'. (PR/673).xs.spatial.get_crscan now also guesslatitude_longitude(PlateCarree) even without a grid mapping variable. (PR/619).
Internal changes
- Added test for catalog and config (PR/664).
- More explicit calls to
coords,compat, andjoinin calls toxr.concatandxr.mergeto avoid FutureWarnings fromxarray. (PR/665). - Add test for
xs.health_checksfor new xclim missing optionmissing_some_but_not_all. (PR/679). - Added a workflow for automatically approving and merging non-major Dependabot updates. (PR/682).
- Temporarily pinned
pandas(<3.0) until changes can be made to adapt to the new API. (PR/682). - Add "cat:bias_adjust_reference" guess in
xs.trainandxs.adjust. (PR/679). - Add
xs.diagnostics.merge_attrsas it was removed from xclim. (PR/679). - Add grid mapping attrs to loc coords in
xs.regrid. (PR/679). - Created the
Regiontype for better documentation of the construct. (PR/619). - File
environment.ymlhas been removed. Doc dependencies have been removed fromenvironment-dev.ymland a distinctenvironment-docs.ymlhas been created. (PR/692).
Files
Ouranosinc/xscen-v0.14.0.zip
Files
(893.9 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:d1662beaed47a4bfd3085e8da6c61bac
|
893.9 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/Ouranosinc/xscen/tree/v0.14.0 (URL)
Software
- Repository URL
- https://github.com/Ouranosinc/xscen