Skip to content

Commit

Permalink
Bump to v0.7.1 (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder authored Jun 24, 2024
1 parent 1b03e61 commit 1d57e25
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ jobs:
run: |
mamba env update -n xcdat_ci -f conda-env/ci.yml
# Make sure the Python version in the env matches the current matrix version.
mamba install -c conda-forge python=${{ matrix.python-version }}
# Make sure numpy is not > 2.0.
mamba install -c conda-forge python=${{ matrix.python-version }} "numpy>=1.23.0,<2.0"
- name: Install xcdat
# Source: https://github.com/conda/conda-build/issues/4251#issuecomment-1053460542
Expand Down
37 changes: 36 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,41 @@
History
=======

v0.7.1 (24 June 2024)
----------------------

This patch release fixes a bug in the Regrid2 API where a static order of dimensions are
incorrectly expected. It updates ``add_missing_bounds()`` to convert ``np.timedelta64``
values to ``pandas.Timedelta`` objects to support Xarray's datetime component
accessor.

This release also includes numerous updates to the documentation, including adding
a general guide to parallel computing with Dask notebook. It also ensures all existing
notebooks and documentation are up to date with the latest and relevant information.

Bug Fixes
~~~~~~~~~

- Fixes regrid2 mapping output to input ordering by `Jason Boutte`_
in https://github.com/xCDAT/xcdat/pull/653
- Update ``add_missing_bounds()`` to convert ``np.timedelta64`` to ``pd.Timedelta``
to support Xarray's datetime component accessor `_Jiwoo Lee` in https://github.com/xCDAT/xcdat/pull/660

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

- Add JOSS paper by `Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/567
- Add Parallel Computing with Dask Jupyter Notebook by `Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/489
- Update regridding notebook for v0.7.0 by `Jill Chengzhu Zhang`_ in https://github.com/xCDAT/xcdat/pull/646
- Update FAQs, HPC guide, and Gentle Introduction by `Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/650
- Simplify the contributing guide by `Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/593
- Update notebook env setup instructions with kernel by `Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/652
- Add instructions for setting `ESMFMKFILE` and update links to xESMF docs by `Tom Vo`_ in https://github.com/xCDAT/xcdat/pull/643
- Temporal average notebooks maintanance by `Jiwoo Lee`_ in https://github.com/xCDAT/xcdat/pull/633
- Review of spatial averaging and general dataset utilities by `Stephen Po-Chedley`_ in https://github.com/xCDAT/xcdat/pull/644

**Full Changelog**: https://github.com/xCDAT/xcdat/compare/v0.7.0...v0.7.1

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

Expand Down Expand Up @@ -54,7 +89,7 @@ Deprecations
- 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
**Full Changelog**: https://github.com/xCDAT/xcdat/compare/v0.6.1...v0.7.0

v0.6.1 (29 November 2023)
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion conda-env/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- cftime
- dask
- netcdf4
- numpy >=1.23.0
- numpy >=1.23.0,<2.0
- pandas
- python-dateutil
- xarray >=2022.02.0
Expand Down
2 changes: 1 addition & 1 deletion conda-env/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- cftime
- dask
- netcdf4
- numpy >=1.23.0
- numpy >=1.23.0,<2.0
- pandas
- python-dateutil
- xarray >=2022.02.0
Expand Down
2 changes: 1 addition & 1 deletion docs/paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ authors:
affiliations:
- name: Lawrence Livermore National Lab, Livermore, USA
index: 1
date: 24 July 2024
date: 24 June 2024
bibliography: paper.bib
---

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.7.0",
version="0.7.1",
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.7.0"
current = "0.7.1"

# 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.7.0"
__version__ = "0.7.1"

0 comments on commit 1d57e25

Please sign in to comment.