Published January 22, 2021
| Version v0.23.0
Software
Open
Ouranosinc/xclim: v0.23.0
Authors/Creators
- 1. Ouranos
- 2. @jakarto3d
- 3. STFC CEDA
Description
Breaking changes
- Renamed indicator
atmos.degree_days_depassment_datetoatmos.degree_days_exceedance_date. - In
degree_days_exceedance_date: renamed argumentstart_datetoafter_date. - Added cfchecks for Pr+Tas-based indicators.
- Refactored test suite to now be available as part of the standard library installation (
xclim.testing.tests). - Running
pytestwithxdoctestnow requires therootdirto point attestslocation (pytest --rootdir xclim/testing/tests/ --xdoctest xclim). - Development checks now require working jupyter notebooks (assessed via the
pytest --nbvalcommand).
rain_approximationandsnowfall_approximationfor computingprlpandprsnfromprandtas(ortasminortasmax) according to some threshold and method.solid_precip_accumulationandliquid_precip_accumulationnow accept athreshparameter to control the binary snow/rain temperature threshold.first_snowfallandlast_snowfallto compute the date of first/last snowfall exceeding a threshold in a period.
- New
kindentry in theparametersproperty of indicators, differentiating between [optional] variables and parameters. - The git pre-commit hooks (
pre-commit run --all) now clean the jupyter notebooks withnbstripoutcall.
- Fixed a bug in
indices.run_length.lazy_indexingthat occurred with 1D coords and 0D indexes when using the dask backend. - Fixed a bug with default frequency handling affecting
fitindicator. - Set missing method to 'skip' for
freq_analysisindicator. - Fixed a bug in
ensembles._ens_align_datasetsthat occurred when inputs are.ncfilepaths but files lack a time dimension.
core.cfchecks.check_validnow accepts a sequence of strings as itsexpectedargument.- Clean up in the tests to speed up testing. Addition of a marker to include "slow" tests when desired (
-m slow). - Fixes in the tests to support
sklearn>=0.24,clisops>=0.5and build xarray@master against python 3.7. - Moved the testing suite to within xclim and simplified
toxto manage its own tempdir. - Indicator class now has a
default_freqmethod.
Files
Ouranosinc/xclim-v0.23.0.zip
Files
(438.5 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:45fc8f6eacd559fc48bd8bebc1e40a23
|
438.5 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/Ouranosinc/xclim/tree/v0.23.0 (URL)