Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/).

## 0.4.2 (2026-01-28)

New contributors:
- [@tdickinson29](https://github.com/tdickinson29)

Fixed:
- When validating input with a source dataset, use the passed `time_dim` argument ([#62](https://github.com/xarray-contrib/xarray-regrid/pull/62)).
- Fixed issue with lon values being immutable, thanks @shenyulu ([#65](https://github.com/xarray-contrib/xarray-regrid/issues/65), [#66](https://github.com/xarray-contrib/xarray-regrid/pull/66)).

## 0.4.1 (2025-04-08)

Fixed:
Expand Down
2 changes: 1 addition & 1 deletion src/xarray_regrid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"methods",
]

__version__ = "0.4.1"
__version__ = "0.4.2"
2 changes: 1 addition & 1 deletion src/xarray_regrid/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def format_lon(
left_pad = int(np.ceil(np.max([left_pad, 0])))
right_pad = int(np.ceil(np.max([right_pad, 0])))
obj = obj.pad({lon_coord: (left_pad, right_pad)}, mode="wrap", keep_attrs=True)
lon_vals = obj.coords[lon_coord].values
lon_vals = obj.coords[lon_coord].values.copy()
if left_pad:
lon_vals[:left_pad] = source_lon.values[-left_pad:] - 360
if right_pad:
Expand Down