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

numpy searchsorted does not really search in an array #41

Open
cpaulik opened this issue Aug 24, 2016 · 0 comments
Open

numpy searchsorted does not really search in an array #41

cpaulik opened this issue Aug 24, 2016 · 0 comments

Comments

@cpaulik
Copy link
Collaborator

cpaulik commented Aug 24, 2016

the methods gpi2cell gpi2lonlatusenumpy.searchsorted` but this function does not really search for the occurrence of the gpi in the array but just for the position of where to insert the gpi. This is fine as long as the gpi is actually in the grid. We need a better check/search algorithm for this.

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