Skip to content

Commit d0a4892

Browse files
Bump to v0.5.0 (#436)
1 parent fc18ccc commit d0a4892

File tree

9 files changed

+100
-42
lines changed

9 files changed

+100
-42
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: check-yaml
1212

1313
- repo: https://github.com/psf/black
14-
rev: 22.12.0
14+
rev: 23.1.0
1515
hooks:
1616
- id: black
1717

@@ -30,15 +30,15 @@ repos:
3030
additional_dependencies: [flake8-isort]
3131

3232
- repo: https://github.com/pre-commit/mirrors-mypy
33-
rev: v0.990
33+
rev: v1.1.1
3434
hooks:
3535
- id: mypy
3636
args: ["--config=setup.cfg"]
3737
additional_dependencies:
3838
[
39-
dask==2022.10.2,
39+
dask==2023.3.2,
4040
numpy==1.23.5,
4141
pandas==1.5.3,
42-
xarray==2023.1.0,
42+
xarray==2023.3.0,
4343
types-python-dateutil==2.8.19,
4444
]

HISTORY.rst

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,61 @@
22
History
33
=======
44

5+
v0.5.0 (27 March 2023)
6+
--------------------------
7+
8+
This long-awaited minor release includes feature updates to support an
9+
optional user-specified climatology reference period when calculating
10+
climatologies and departures, support for opening datasets using the
11+
``directory`` key of the legacy CDAT `Climate Data Markup Language
12+
(CDML) <https://cdms.readthedocs.io/en/latest/manual/cdms_6.html>`__
13+
format (an XML dialect), and improved support for using custom time
14+
coordinates in temporal APIs.
15+
16+
This release also includes a bug fix for singleton coordinates breaking
17+
the ``swap_lon_axis()`` function. Additionally, Jupyter Notebooks for
18+
presentations and demos have been added to the documentation.
19+
20+
Features
21+
~~~~~~~~
22+
23+
- Update departures and climatology APIs with reference period by
24+
`Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/417
25+
- Wrap open_dataset and open_mfdataset to flexibly open datasets by
26+
`Stephen Po-Chedley`_ in https://github.com/xCDAT/xcdat/pull/385
27+
- Add better support for using custom time coordinates in temporal APIs
28+
by `Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/415
29+
30+
Bug Fixes
31+
~~~~~~~~~
32+
33+
- Raise warning if no time coords found with ``decode_times`` by
34+
`Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/409
35+
- Bump conda env dependencies by `Tom Vo`_ in
36+
https://github.com/xCDAT/xcdat/pull/408
37+
- Fix ``swap_lon_axis()`` breaking when sorting with singleton coords
38+
by `Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/392
39+
40+
Documentation
41+
~~~~~~~~~~~~~
42+
43+
- Update xsearch-xcdat-example.ipynb by `Stephen Po-Chedley`_ in
44+
https://github.com/xCDAT/xcdat/pull/425
45+
- Updates xesmf docs by `Jason Boutte`_ in
46+
https://github.com/xCDAT/xcdat/pull/432
47+
- Add presentations and demos to sphinx toctree by `Tom Vo`_ in
48+
https://github.com/xCDAT/xcdat/pull/422
49+
- Update temporal ``.average`` and ``.departures`` docstrings by
50+
`Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/407
51+
52+
DevOps
53+
~~~~~~
54+
55+
- Bump conda env dependencies by `Tom Vo`_ in
56+
https://github.com/xCDAT/xcdat/pull/408
57+
58+
**Full Changelog**: https://github.com/xCDAT/xcdat/compare/v0.4.0...v0.5.0
59+
560
v0.4.0 (9 November 2022)
661
--------------------------
762

conda-env/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ dependencies:
1717
- netcdf4
1818
- numpy
1919
- pandas
20+
- python-dateutil
2021
- xarray
2122
- xesmf
22-
- python-dateutil
23+
# Quality Assurance
24+
# ==================
2325
- types-python-dateutil
2426
# Testing
2527
# ==================

conda-env/dev.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,52 +8,52 @@ dependencies:
88
# Base
99
# ==================
1010
# NOTE: If versions are updated, also `additional_dependencies` list for mypy in `.pre-commit-config.yaml`
11-
- python=3.10.8
12-
- pip=22.3.1
13-
- cf_xarray=0.7.7
11+
- python=3.10.10
12+
- pip=23.0.1
13+
- cf_xarray=0.8.0
1414
- cftime=1.6.2
15-
- dask=2023.1.0
15+
- dask=2023.3.2
1616
- lxml=4.9.2
17-
- netcdf4=1.6.2
17+
- netcdf4=1.6.3
1818
- numpy=1.23.5
1919
- pandas=1.5.3
2020
- python-dateutil=2.8.2
21-
- xarray=2023.1.0
21+
- xarray=2023.3.0
2222
# ==================
2323
# Optional
2424
# ==================
2525
- xesmf=0.7.0
26-
- matplotlib=3.6.3
26+
- matplotlib-base=3.7.1
2727
- nc-time-axis=1.4.1
2828
# ==================
2929
# Documentation
3030
# ==================
31-
- sphinx=4.5.0
31+
- sphinx=5.3.0
3232
- sphinx-autosummary-accessors=2022.4.0
33-
- sphinx-book-theme=0.3.3
34-
- sphinx-copybutton=0.5.0
35-
- nbsphinx=0.8.12
36-
- pandoc=2.19.2
37-
- ipython=8.8.0 # Required for nbsphinx syntax highlighting
33+
- sphinx-book-theme=1.0.0
34+
- sphinx-copybutton=0.5.1
35+
- nbsphinx=0.9.1
36+
- pandoc=3.1.1
37+
- ipython=8.11.0 # Required for nbsphinx syntax highlighting
3838
# ==================
3939
# Quality Assurance
4040
# ==================
4141
# NOTE: If versions are updated, also update 'rev' in `.pre-commit.config.yaml`
42-
- black=22.12.0
42+
- black=23.1.0
4343
- flake8=6.0.0
4444
- flake8-isort=6.0.0
4545
- isort=5.12.0
46-
- mypy=0.991
47-
- pre-commit=2.21.0
46+
- mypy=1.1.1
47+
- pre-commit=3.2.0
4848
- types-python-dateutil=2.8.19
4949
# ==================
5050
# Testing
5151
# ==================
52-
- pytest=7.2.1
52+
- pytest=7.2.2
5353
- pytest-cov=4.0.0
5454
# ==================
5555
# Developer Tools
5656
# ==================
57-
- jupyterlab=3.5.3
57+
- jupyterlab=3.6.2
5858
- tbump=6.9.0
5959
prefix: /opt/miniconda3/envs/xcdat_dev

conda-env/readthedocs.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,34 @@ dependencies:
77
# Base
88
# ==================
99
# NOTE: If versions are updated, also `additional_dependencies` list for mypy in `.pre-commit-config.yaml`
10-
- python=3.10.8
11-
- pip=22.3.1
12-
- cf_xarray=0.7.7
10+
- python=3.10.10
11+
- pip=23.0.1
12+
- cf_xarray=0.8.0
1313
- cftime=1.6.2
14-
- dask=2023.1.0
14+
- dask=2023.3.2
1515
- lxml=4.9.2
16-
- netcdf4=1.6.2
16+
- netcdf4=1.6.3
1717
- numpy=1.23.5
1818
- pandas=1.5.3
1919
- python-dateutil=2.8.2
20-
- xarray=2023.1.0
20+
- xarray=2023.3.0
2121
# ==================
2222
# Optional
2323
# ==================
2424
- xesmf=0.7.0
25+
- matplotlib-base=3.7.1
26+
- nc-time-axis=1.4.1
2527
# ==================
26-
# Quality Assurance
27-
# ==================
28-
- types-python-dateutil=2.8.19
2928
# Documentation
3029
# ==================
31-
- sphinx=4.5.0
30+
- sphinx=5.3.0
3231
- sphinx-autosummary-accessors=2022.4.0
33-
- sphinx-book-theme=0.3.3
34-
- sphinx-copybutton=0.5.0
35-
- nbsphinx=0.8.12
36-
- pandoc=2.19.2
37-
- ipython=8.8.0 # Required for nbsphinx syntax highlighting.
32+
- sphinx-book-theme=1.0.0
33+
- sphinx-copybutton=0.5.1
34+
- nbsphinx=0.9.1
35+
- pandoc=3.1.1
36+
- ipython=8.11.0 # Required for nbsphinx syntax highlighting
37+
# Quality Assurance
38+
# ==================
39+
- types-python-dateutil=2.8.19
3840
prefix: /opt/miniconda3/envs/xcdat_rtd

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@
146146
"use_issues_button": True,
147147
"use_download_button": True,
148148
"use_fullscreen_button": True,
149-
"logo_only": True,
150149
}
151150

152151
# Add any paths that contain custom static files (such as style sheets) here,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
test_suite="tests",
3636
tests_require=test_requires,
3737
url="https://github.com/xCDAT/xcdat",
38-
version="0.4.0",
38+
version="0.5.0",
3939
zip_safe=False,
4040
)

tbump.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
github_url = "https://github.com/xCDAT/xcdat"
33

44
[version]
5-
current = "0.4.0"
5+
current = "0.5.0"
66

77
# Example of a semver regexp.
88
# Make sure this matches current_version before

xcdat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
from xcdat.temporal import TemporalAccessor # noqa: F401
2020
from xcdat.utils import compare_datasets # noqa: F401
2121

22-
__version__ = "0.4.0"
22+
__version__ = "0.5.0"

0 commit comments

Comments
 (0)