wakatools.base.DataArrayAccessor.grid_coordinates#

DataArrayAccessor.grid_coordinates() ndarray[source]#

Get an array of all grid coordinates in the DataArray in the shape (N, 2).

Returns:

An array of shape (N, 2) containing all grid coordinates.

Return type:

np.ndarray