Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 1, 2024
1 parent 61e991e commit 8d6ed3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xesmf/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,8 +1032,8 @@ def _init_para_regrid(self, ds_in, ds_out, kwargs):

# Rename coords to avoid issues in xr.map_blocks
for coord in list(self.out_coords.keys()):
ds_out = ds_out.rename({coord:coord+'_out'})
ds_out = ds_out.rename({coord: coord + '_out'})

weights_dims = ('y_out', 'x_out', 'y_in', 'x_in')
templ = sps.zeros((self.shape_out + self.shape_in))
w_templ = xr.DataArray(templ, dims=weights_dims).chunk(
Expand Down

0 comments on commit 8d6ed3b

Please sign in to comment.