-
Notifications
You must be signed in to change notification settings - Fork 16
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
dot product implementation #4
Conversation
Will look at this more in a bit, but I think the test failures are the result of the That might be in line 410 of the modified (which is odd; my first assumption would be that that should preserve variable names) |
@jsadler2 , is there a blocker here? |
@rsignell-usgs - no blocker - just haven't had time to spend on this in the past couple of weeks. |
Finally got a chance to look at this a bit more closely - So the issue right now is that the current proposed change changes I think the way to make this framework compatible with the proposed change would be to
Then the rest of the code should work without having to change anything else. |
@ks905383 - I finally got around to looking at this again. I think I figured out the compatibility things. Could you run your checks again? |
Hm, looks like it's generating a Currently This is an issue with a dot product, since in python it always returns More broadly, there should probably be a warning if there are polygons that overlap with |
hm actually more broadly I'm worried about the failure of The weights are dealt with in: Line 469 in 76501e9
The best way to fix that is probably to incorporate the weights into this part in a similar way?: This is getting there though, very excited to see this! |
Thanks for those pointers, @ks905383. I ran the tests locally and they are now passing. |
@ks905383 - exciting to see this go in. I probably should have said this earlier, but I found that when I tried to use this branch with a larger dataset, there was a memory error in the weight functionality, somewhere around here : Line 452 in 4ac0c0f
Just wanted to give you a heads up. I can do a little more digging to get more specifics |
Starting this pull request. This is code that implements a dot-product approach for doing the aggregation. See #2
This works for my application but I have not run the tests on this yet.