Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aggregate returns NoLookups even along dimensions that aren't aggregated #875

Open
tiemvanderdeure opened this issue Jan 27, 2025 · 0 comments · May be fixed by #882
Open

aggregate returns NoLookups even along dimensions that aren't aggregated #875

tiemvanderdeure opened this issue Jan 27, 2025 · 0 comments · May be fixed by #882
Labels
bug Something isn't working

Comments

@tiemvanderdeure
Copy link
Collaborator

MWE

A = rand(X(1:100), Y(1:100), Z(["bar", "foo"])) |> Raster
A_agg = Rasters.aggregate(sum, A, (X(5),))
dims(A_agg, Z)

Now Z is a NoLookup, even though it was never touched by aggregate!

If I have time I'll write a PR.

@tiemvanderdeure tiemvanderdeure added the bug Something isn't working label Jan 27, 2025
@rafaqz rafaqz linked a pull request Jan 30, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant