From 799b81fc6cbbeb2da2a7e36682f7445e7c5188d8 Mon Sep 17 00:00:00 2001 From: Tom Vo Date: Wed, 10 Apr 2024 13:34:25 -0700 Subject: [PATCH] Bump to v0.7.0 (#637) --- HISTORY.rst | 54 +++++++++++++++++++++++++++++++++++++++++++++++ conda-env/ci.yml | 8 +++---- conda-env/dev.yml | 8 +++---- setup.py | 2 +- tbump.toml | 2 +- xcdat/__init__.py | 2 +- 6 files changed, 65 insertions(+), 11 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index b03050a0..9afad5bf 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -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) ------------------------- diff --git a/conda-env/ci.yml b/conda-env/ci.yml index 3df06815..00b61efc 100644 --- a/conda-env/ci.yml +++ b/conda-env/ci.yml @@ -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 # ================== diff --git a/conda-env/dev.yml b/conda-env/dev.yml index bdcd3c48..7a3537fd 100644 --- a/conda-env/dev.yml +++ b/conda-env/dev.yml @@ -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. # ========================================= diff --git a/setup.py b/setup.py index 71aff090..fb239f6d 100755 --- a/setup.py +++ b/setup.py @@ -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, ) diff --git a/tbump.toml b/tbump.toml index 10bd0f60..459175be 100644 --- a/tbump.toml +++ b/tbump.toml @@ -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 diff --git a/xcdat/__init__.py b/xcdat/__init__.py index 899b55fc..9680627b 100644 --- a/xcdat/__init__.py +++ b/xcdat/__init__.py @@ -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"