Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HGWright committed Oct 30, 2023
1 parent 8bdb1ef commit fec1c93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion esmf_regrid/schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ def _regrid_unstructured_to_unstructured__prepare(
mesh_dim = src_mesh_cube.mesh_dim()

src_meshinfo = _make_meshinfo(
src_mesh_cube, method, src_location, src_mask, "source"
src_mesh_cube, method, src_mask, "source", location=src_location
)
tgt_meshinfo = _make_meshinfo(
tgt_cube_or_mesh, method, tgt_mask, "target", location=tgt_location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ def test_multidim_cubes():

expected_cube = Cube(expected_data)
expected_cube.add_dim_coord(time, 0)
expected_cube.add_dim_coord(tgt.coord("latitude"), 1)
expected_cube.add_dim_coord(tgt.coord("longitude"), 2)
expected_cube.add_aux_coord(tgt.coord("latitude"), 1)
expected_cube.add_aux_coord(tgt.coord("longitude"), 2)
expected_cube.add_dim_coord(height, 3)

# Check metadata and scalar coords.
Expand Down

0 comments on commit fec1c93

Please sign in to comment.