Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed Mar 22, 2021
1 parent 862f633 commit 4120efa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esmf_regrid/experimental/unstructured_scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def _create_cube(data, src_cube, mesh_dim, grid_x, grid_y):

new_cube = iris.cube.Cube(data)

# TODO: The following code assumes a 1D source cube and mesh_dim = 0.
# This is therefore simple code which should be updated when we start
# supporting the regridding of extra dimensions.
new_cube.add_dim_coord(grid_x, mesh_dim + 1)
new_cube.add_dim_coord(grid_y, mesh_dim)

Expand Down

0 comments on commit 4120efa

Please sign in to comment.