File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/xarray_regrid/methods Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def conservative_regrid_dataset(
119119 # Create weights array and coverage mask for each regridding dim
120120 weights = {}
121121 covered = {}
122- for coord in coords :
122+ for coord in coords : # noqa: PLC0206
123123 covered [coord ] = (coords [coord ] <= data [coord ].max ()) & (
124124 coords [coord ] >= data [coord ].min ()
125125 )
@@ -137,7 +137,7 @@ def conservative_regrid_dataset(
137137 weights [coord ] = da_weights
138138
139139 # Apply the weights, using a unique set that matches chunking of each array
140- for array in data_vars .keys ():
140+ for array in data_vars .keys (): # noqa: PLC0206
141141 var_weights = {}
142142 for coord , weight_array in weights .items ():
143143 var_input_chunks = data_vars [array ].chunksizes .get (coord )
You can’t perform that action at this time.
0 commit comments