You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we have the 1d version of slices with groupby, e.g.,
for _, sl in data.groupby('raa'):
# work with DataArray with coordinates (wl, sza, vza)
(though the code does sort of implicitly assume that the values along the index are unique)
I agree, something like this would be nice. I think Iris now also has slices_over, e.g., data.slices_over(['sza', 'vza']) would be equivalent to your example, and it would be good to cover that case as well.
The
DataArray
object would benefit from functionality similar toiris.cube.Cube.slices
. Given an arrayit would be nice to be able to do
The text was updated successfully, but these errors were encountered: