Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/pybdy/nemo_bdy_gen_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(self, boundary_mask, settings, grid):
bdy_i = np.tile(tij, (rw, 1, 1))

bdy_i = np.transpose(bdy_i, (1, 2, 0))
bdy_r = bdy_r = np.tile(np.arange(0, rw), (bdy_i.shape[0], 1))
bdy_r = np.tile(np.arange(0, rw), (bdy_i.shape[0], 1))

# Add points for relaxation zone over rim width
# In the relaxation zone with rim width. looking into the domain up to the rim width
Expand Down
2 changes: 1 addition & 1 deletion tests/test_nemo_bdy_extr_assist.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_get_ind_out_of_bound():
lat_range_s = np.arange(30, 50, 0.5)
lon_sc, lat_sc = np.meshgrid(lon_range_s, lat_range_s)

with pytest.raises(Exception, match="") as exc_info:
with pytest.raises(Exception) as exc_info:
imin, imax, jmin, jmax = extr_assist.get_ind(dst_lon, dst_lat, lon_sc, lat_sc)
assert (
exc_info.value.args[0]
Expand Down
Loading