Skip to content

Commit

Permalink
lint fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrsee1997 committed Dec 20, 2023
1 parent b224db7 commit 81766cf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,7 @@ def _process_coordinate_data(
self._get_tile_from_ee,
list(zip(data, itertools.cycle([coordinate_type]))),
):
tiles[i] = (
arr.tolist() if coordinate_type == 'x' else arr.tolist()[0]
)
tiles[i] = arr.tolist() if coordinate_type == 'x' else arr.tolist()[0]
return np.concatenate(tiles)

def get_variables(self) -> utils.Frozen[str, xarray.Variable]:
Expand Down Expand Up @@ -609,7 +607,6 @@ def get_variables(self) -> utils.Frozen[str, xarray.Variable]:
lat_total_tile = math.ceil(v0.shape[2] / height_chunk)
lat = self._process_coordinate_data(
lat_total_tile, height_chunk, v0.shape[2], 'y'

)

width_coord = np.squeeze(lon)
Expand Down

0 comments on commit 81766cf

Please sign in to comment.