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

.ugrid.sel(x=..., y=...) should return a 2D result #98

Open
Huite opened this issue Jun 16, 2023 · 0 comments
Open

.ugrid.sel(x=..., y=...) should return a 2D result #98

Huite opened this issue Jun 16, 2023 · 0 comments

Comments

@Huite
Copy link
Collaborator

Huite commented Jun 16, 2023

The docstring of sel currently mentions that it will do orthogonal indexing, but it gives a somewhat confusing result:

  • It's 1D
  • Its primary dimension is the UGRID dimension
  • It has silently dropped locations that are outside of the grid

It would make more sense to just rely on the same logic as rasterize here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant