Skip to content

Commit

Permalink
lat. lon storing into the arr is updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
dabhicusp committed Jan 9, 2024
1 parent 98c92a5 commit 9759d0f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,8 @@ def _process_coordinate_data(
self._get_tile_from_ee,
list(zip(data, itertools.cycle([coordinate_type]))),
):
tiles[i] = (
arr.tolist()[0] if coordinate_type == 'x' else arr.tolist()[0][0]
)
return np.concatenate(tiles)
tiles[i] = arr.flatten()
return np.array(tiles)

def get_variables(self) -> utils.Frozen[str, xarray.Variable]:
vars_ = [(name, self.open_store_variable(name)) for name in self._bands()]
Expand Down

0 comments on commit 9759d0f

Please sign in to comment.