Skip to content

Commit

Permalink
Merge pull request #132 from dabhicusp:replace_np_array
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 603388277
  • Loading branch information
Xee authors committed Feb 1, 2024
2 parents 10380ea + 1dc934a commit 6700ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def _process_coordinate_data(
list(zip(data, itertools.cycle([coordinate_type]))),
):
tiles[i] = arr.flatten()
return np.array(tiles)
return np.concatenate(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 6700ed1

Please sign in to comment.