Skip to content

Commit

Permalink
MAINT: Upgrade to xclim 0.37
Browse files Browse the repository at this point in the history
  • Loading branch information
bzah committed Jun 29, 2022
1 parent 59d707e commit 4a832e6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
31 changes: 16 additions & 15 deletions doc/source/references/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,30 @@ Release history

5.2.2
-----
[maint] Remove constraint on numpy version as numba is now working with np 1.22.
* [maint] Remove constraint on numpy version as numba is now working with numpy 1.22
* [maint] Upgrade to xclim 0.37

5.2.1
-----
[maint] Made Frequency part of SliceMode union.
[fix] slice_mode seasonal samplings was giving wrong results for quite a few indices. This has been fixed and the performances should also be improved by the fix.
* [maint] Made Frequency part of SliceMode union.
* [fix] slice_mode seasonal samplings was giving wrong results for quite a few indices. This has been fixed and the performances should also be improved by the fix.
However, now seasonal slice_mode does not allow to use xclim missing values mechanisms.
[fix] user_index ExtremeMode config was not properly parsed when a string was used.
[fix] user_index Anomaly operator was not properly using the `ref_time_range` to setup a reference period as it should.
[fix] user_index Sum and Mean operators were broken due to a previous refactoring and a lack of unit tests, it is now fixed and tested.
[maint] Changed how `rechunker` dependency is pinned to add flexibility. We want a version above '0.3' but not the '0.4'.
[maint] For the newly generate API, on `custom_index` function, the parameter `user_index` is now mandatory.
* [fix] user_index ExtremeMode config was not properly parsed when a string was used.
* [fix] user_index Anomaly operator was not properly using the `ref_time_range` to setup a reference period as it should.
* [fix] user_index Sum and Mean operators were broken due to a previous refactoring and a lack of unit tests, it is now fixed and tested.
* [maint] Changed how `rechunker` dependency is pinned to add flexibility. We want a version above '0.3' but not the '0.4'.
* [maint] For the newly generate API, on `custom_index` function, the parameter `user_index` is now mandatory.


5.2.0
-----
[maint] Update release process.
[enh] Improve `create_optimized_zarr_store` to accept a chunking schema instead of a single dim.
[enh] Make use of `fsspec` to generalize the storages where `create_optimized_zarr_store` can create its zarr stores.
[enh] Make CSDI and WSDI threshold configurable using the `threshold` parameter of icclim.index.
[enh] Add a function in `icclim` namespace for each ECA&D index for convenience.
[doc] Improve documentation about chunking.
[fix] `create_optimized_zarr_store` would throw an error when creating the first temp store if the chunks were not unified.
* [maint] Update release process.
* [enh] Improve `create_optimized_zarr_store` to accept a chunking schema instead of a single dim.
* [enh] Make use of `fsspec` to generalize the storages where `create_optimized_zarr_store` can create its zarr stores.
* [enh] Make CSDI and WSDI threshold configurable using the `threshold` parameter of icclim.index.
* [enh] Add a function in `icclim` namespace for each ECA&D index for convenience.
* [doc] Improve documentation about chunking.
* [fix] `create_optimized_zarr_store` would throw an error when creating the first temp store if the chunks were not unified.

5.1.0
-----
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ channels:
dependencies:
# Core dependencies
- python>=3.8
- xclim>=0.34
- xclim>=0.37
- numpy
- xarray>=0.19
- dask[array]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ pyyaml
rechunker>=0.3.3
setuptools
xarray
xclim~=0.34.0
xclim~=0.37
zarr
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
MINIMAL_REQUIREMENTS = [
"numpy>=1.16",
"xarray>=0.17",
"xclim>=0.34",
"xclim>=0.37",
"cftime>=1.4.1",
"dask[array]",
"netCDF4>=1.5.7",
Expand Down

0 comments on commit 4a832e6

Please sign in to comment.