Skip to content

Commit

Permalink
Update lib/iris/analysis/_interpolation.py
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Yeo <[email protected]>
  • Loading branch information
fnattino and trexfeathers committed Sep 13, 2024
1 parent 47a8599 commit 7a08108
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/iris/analysis/_interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,13 +571,13 @@ def _points(self, sample_points, data, data_dims=None):
# Transpose data in preparation for interpolation.
data = np.transpose(data, interp_order)

# Interpolate the data, merging the chunks in the interpolated
# dimensions.
dims_merge_chunks = [dmap[d] for d in di]
# Interpolate the data, ensuring the interpolated dimensions
# are not chunked.
dims_not_chunked = [dmap[d] for d in di]
result = map_complete_blocks(
data,
self._interpolate,
dims=dims_merge_chunks,
dims=dims_not_chunked,
out_sizes=interp_shape,
src_points=self._src_points,
interp_points=interp_points,
Expand Down

0 comments on commit 7a08108

Please sign in to comment.