Skip to content

Commit

Permalink
test failures resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
konstntokas committed Dec 23, 2024
1 parent de6a175 commit b78cca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcube/core/resampling/rectify.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,8 @@ def _compute_var_image_xarray_dask_block(
src_bbox = [
int(np.nanmin(dst_src_ij_images[0])),
int(np.nanmin(dst_src_ij_images[1])),
min(int(np.nanmax(dst_src_ij_images[0])) + 1, src_var_image.shape[-1]),
min(int(np.nanmax(dst_src_ij_images[1])) + 1, src_var_image.shape[-2]),
min(int(np.nanmax(dst_src_ij_images[0])) + 2, src_var_image.shape[-1]),
min(int(np.nanmax(dst_src_ij_images[1])) + 2, src_var_image.shape[-2]),
]
src_var_image = src_var_image[
..., src_bbox[1] : src_bbox[3], src_bbox[0] : src_bbox[2]
Expand Down

0 comments on commit b78cca8

Please sign in to comment.