Published December 7, 2020
| Version v0.22.0
Software
Open
Ouranosinc/xclim: v0.22.0
Authors/Creators
- 1. Ouranos
- 2. @jakarto3d
- 3. STFC CEDA
Description
Breaking changes
- Statistical functions (
frequency_analysis,fa,fit,parametric_quantile) are now solely accessible viaindices.stats.
atmos.degree_days_depassment_date, the day of year when the degree days sum exceeds a threshold.
- Added unique titles to
atmoscalculations employing wrapped_partials. xclim.core.calendar.convert_calendarnow accepts amissingargument.- Added
xclim.core.calendar.date_rangeandxclim.core.calendar.date_range_likewrapping pandas'date_rangeand xarray'scftime_range. xclim.core.calendar.get_calendarnow accepts many different types of data, including datetime object directly.- New module
xclim.analogand methodxclim.analog.spatial_analogsto compute spatial analogs. - Indicators can now accept dataset in their new
dscall argument. Variable arguments (that use theDataArrayannotation) can now be given with strings that correspond to variable names in the dataset, and default to their own name. - Clarification to
frequency_analysisnotebook. - Now officially supporting PEP596 (Python3.9).
- New methods
xclim.ensembles.change_significanceandxclim.ensembles.knutti_sedlacekto qualify climate change agreement among members of an ensemble.
- Fixed bug that prevented the use of
xclim.core.missing.MissingBaseand subclasses with an indexer and a cftime datetime coordinate. - Fixed issues with metadata handling in statistical indices.
- Various small fixes to the documentation (re-establishment of some internally and externally linked documents).
- Passing
align_ontoxclim.core.calendar.convert_calendarwithout using '360_day' calendars will not raise a warning anymore. - Added formatting utilities for metadata attributes (
update_cell_methods,prefix_attrsandunprefix_attrs). xclim/ensembles.pymoved toxclim/ensembles/*.py, splitting stats/creation, reduction and robustness methods.- With the help of the
mypylibrary, added several typing fixes to better identify inputs/outputs, and reduce object type mutations. - Fixed some doctests in
ensemblesandset_options. clisopsv0.4.0+ is now an optional requirements for non-Windows builds.- New
xclim.core.units.str2pintmethod to convert quantity strings to quantity objects. Main improvement is to make "3 degC days" a valid string that converts to "3 K days".
Files
Ouranosinc/xclim-v0.22.0.zip
Files
(496.8 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:7cad3a80865b39fc639f6b1cf0163081
|
496.8 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/Ouranosinc/xclim/tree/v0.22.0 (URL)