Skip to content

Commit

Permalink
Merge pull request #701 from Ouranosinc/release_0260
Browse files Browse the repository at this point in the history
Release 0.26.0
  • Loading branch information
Zeitsperre authored Apr 30, 2021
2 parents e637448 + 1c50095 commit d70eb6c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
- id: debug-statements
language_version: python3
- repo: https://github.com/ambv/black
rev: 21.4b0
rev: 21.4b2
hooks:
- id: black
language_version: python3
Expand Down
22 changes: 13 additions & 9 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,39 @@
History
=======

0.26.0 (unreleased)
0.26.0 (2021-04-30)
-------------------

Announcements
~~~~~~~~~~~~~
* `xclim` no longer supports Python3.6. Code conventions and new features from Python3.7 (`PEP 537 <https://www.python.org/dev/peps/pep-0537/#features-for-3-7>`_) are now accepted.

New features and enhancements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* `core.calendar.doy_to_days_since` and `days_since_to_doy` to allow meaningful statistics on doy data.
* New bias second-order adjustment method "ExtremeValues", intended for re-adjusting extreme precipitation values.
* Virtual indicators modules can now be built from YAML files.
* Indicators can now be built from dictionaries.
* New generic indices, implementation of `clix-meta`'s index functions.
* On-the-fly generation of cfchecks with `xc.core.cfchecks.generate_cfcheck`, for a few known variables only.
* On-the-fly generation of climate and forecasting convention (CF) checks with `xc.core.cfchecks.generate_cfcheck`, for a few known variables only.
* New `xc.indices.run_length.rle_statistics` for min, max, mean, std (etc) statistics on run lengths.
* New virtual submodule `cf`, with CF standard indices defined in `clix-meta <https://github.com/clix-meta/clix-meta>`_.
* Indices returning day-of-year data add 2 new attributes to the output: `is_dayofyear` (=1) and `calendar`.
* Indices returning day-of-year data add two new attributes to the output: `is_dayofyear` (=1) and `calendar`.

Breaking changes
~~~~~~~~~~~~~~~~
* Virtual submodules icclim and anuclim are not available at the top level anymore (only through `xclim.indicators`).
* Virtual submodules icclim and anuclim now provide *Indicators* and not indices.
* Spatial analog methods KLDIV and Nearest Neighbor now require `scipy>=1.6.0`.
* `xclim` now requires `xarray>=0.17`.
* Virtual submodules `icclim` and `anuclim` are not available at the top level anymore (only through `xclim.indicators`).
* Virtual submodules `icclim` and `anuclim` now provide *Indicators* and not indices.
* Spatial analog methods "KLDIV" and "Nearest Neighbor" now require `scipy>=1.6.0`.

Bug fixes
~~~~~~~~~
* Remove `from_string` object creation in sdba, replace with use of new dependency `jsonpickle`.
* `from_string` object creation in sdba has been removed. Now replaced with use of a new dependency, `jsonpickle`.

Internal Changes
~~~~~~~~~~~~~~~~
* `xclim` now requires `xarray>=0.17` and no longer supports Python3.6. Code conventions and new features from Python3.7 (`PEP 537 <https://www.python.org/dev/peps/pep-0537/#features-for-3-7>`_) are now accepted.
* `pre-commit` linting checks now run formatting hook `black==21.4b0`.
* `pre-commit` linting checks now run formatting hook `black==21.4b2`.
* Code cleaning (more accurate call signatures, more use of https links, docstring updates, and typo fixes).

0.25.0 (2021-03-31)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.25.4-beta
current_version = 0.26.0
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)(\-(?P<release>[a-z]+))?
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
URL = "https://github.com/Ouranosinc/xclim"
AUTHOR = "Travis Logan"
AUTHOR_EMAIL = "[email protected]"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = "0.25.4-beta"
REQUIRES_PYTHON = ">=3.7.0"
VERSION = "0.26.0"
LICENSE = "Apache Software License 2.0"

with open("README.rst") as readme_file:
Expand Down
2 changes: 1 addition & 1 deletion xclim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

__author__ = """Travis Logan"""
__email__ = "[email protected]"
__version__ = "0.25.4-beta"
__version__ = "0.26.0"


# Virtual modules creation:
Expand Down

0 comments on commit d70eb6c

Please sign in to comment.