Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed May 1, 2024
1 parent 2b7059d commit 8c5e7b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esmf_regrid/experimental/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
ESMFAreaWeightedRegridder,
ESMFBilinearRegridder,
ESMFNearestRegridder,
MeshRecord,
GridRecord,
MeshRecord,
)


Expand Down Expand Up @@ -58,7 +58,7 @@ def _add_mask_to_cube(mask, cube, name):


@contextmanager
def managed_var_name(src_cube, tgt_cube):
def _managed_var_name(src_cube, tgt_cube):
src_coord_names = []
src_mesh_coords = []
if src_cube.mesh is not None:
Expand Down Expand Up @@ -255,7 +255,7 @@ def _standard_mesh_cube(mesh, location, name):
)

# Save cubes while ensuring var_names do not conflict for the sake of consistency.
with managed_var_name(src_cube, tgt_cube):
with _managed_var_name(src_cube, tgt_cube):
cube_list = CubeList([src_cube, tgt_cube, weights_cube, weight_shape_cube])

for cube in cube_list:
Expand Down

0 comments on commit 8c5e7b2

Please sign in to comment.