Skip to content

Commit

Permalink
Bump to v0.7.0 (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Apr 10, 2024
1 parent 65c0be6 commit 799b81f
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 11 deletions.
54 changes: 54 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,60 @@
History
=======

v0.7.0 (10 April 2024)
----------------------

This minor release includes enhancements to the performance of the
Regrid2 API and fixes Regrid2 to align the behavior of how missing
values are handled with CDAT. There are various bug fixes, documentation
updates, and feature deprecations listed below.

Enhancements
~~~~~~~~~~~~

- Improving regrid2 performance by `Jason Boutte`_ in
https://github.com/xCDAT/xcdat/pull/533
- Update Regrid2 missing and fill value behaviors to align with CDAT
and add ``unmapped_to_nan`` arg for output data by `Jason Boutte`_ in
https://github.com/xCDAT/xcdat/pull/613

Bug Fixes
~~~~~~~~~

- Fix Regrid2 to convert bounds as Dask Arrays to NumPy Arrays for
compatibility with NumPy based code by `Tom Vo`_ and `Jiwoo Lee`_ in
https://github.com/xCDAT/xcdat/pull/634
- Fix climo notebook missing T bounds and add notebook env setup in all
example notebooks by `Tom Vo`_ in
https://github.com/xCDAT/xcdat/pull/623
- Update unweighted temporal averages to not require bounds by
`Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/579

Documentation
~~~~~~~~~~~~~

- Update documentation styling for easier navigation by `Tom Vo`_
in https://github.com/xCDAT/xcdat/pull/624
- Add list of projects using xCDAT by `Tom Vo`_ in
https://github.com/xCDAT/xcdat/pull/617
- Fix ESMFMKFILE env variable not set in RTD build by `Tom Vo`_ in
https://github.com/xCDAT/xcdat/pull/577

Deprecations
~~~~~~~~~~~~

- Remove deprecated features and APIs by `Tom Vo`_ in
https://github.com/xCDAT/xcdat/pull/628, including:

- ``horizontal_xesmf()`` and ``horizontal_regrid2()``
- ``**kwargs`` from ``create_grid()``
- ``add_bounds`` accepting boolean arg in ``open_dataset()`` and
``open_mfdataset()``
- Remove CDML/XML support from ``open_dataset()`` and
``open_mfdataset()`` since CDAT is EOL since Dec/2023

**Full Changelog**: https://github.com/xCDAT/xcdat/compare/v0.6.1...0.7.0

v0.6.1 (29 November 2023)
-------------------------

Expand Down
8 changes: 4 additions & 4 deletions conda-env/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ dependencies:
# Base - required for building the package.
# =========================================
- python >=3.9
- cf_xarray >=0.7.3 # Constrained because https://github.com/xarray-contrib/cf-xarray/issues/467
- cf_xarray >=0.7.3
- cftime
- dask
- netcdf4
- numpy >=1.23.0 # This version of numpy includes support for Python 3.11.
- numpy >=1.23.0
- pandas
- python-dateutil
- xarray >=2022.02.0 # This version of Xarray drops support for Python 3.8.
- xesmf >=0.7.0 # Constrained because https://github.com/pangeo-data/xESMF/issues/212.
- xarray >=2022.02.0
- xesmf >=0.7.0
- xgcm
# Quality Assurance
# ==================
Expand Down
8 changes: 4 additions & 4 deletions conda-env/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ dependencies:
# Base - required for building the package.
# =========================================
- python >=3.9
- cf_xarray >=0.7.3 # Constrained because https://github.com/xarray-contrib/cf-xarray/issues/467
- cf_xarray >=0.7.3
- cftime
- dask
- netcdf4
- numpy >=1.23.0 # This version of numpy includes support for Python 3.11.
- numpy >=1.23.0
- pandas
- python-dateutil
- xarray >=2022.02.0 # This version of Xarray drops support for Python 3.8.
- xesmf >=0.7.0 # Constrained because https://github.com/pangeo-data/xESMF/issues/212.
- xarray >=2022.02.0
- xesmf >=0.7.0
- xgcm
# Optional - enables additional features.
# =========================================
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
test_suite="tests",
tests_require=test_requires,
url="https://github.com/xCDAT/xcdat",
version="0.6.1",
version="0.7.0",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
github_url = "https://github.com/xCDAT/xcdat"

[version]
current = "0.6.1"
current = "0.7.0"

# Example of a semver regexp.
# Make sure this matches current_version before
Expand Down
2 changes: 1 addition & 1 deletion xcdat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
from xcdat.temporal import TemporalAccessor # noqa: F401
from xcdat.utils import compare_datasets # noqa: F401

__version__ = "0.6.1"
__version__ = "0.7.0"

0 comments on commit 799b81f

Please sign in to comment.