For any following pairwise_distance-OMG-parallelism-is-tough-in-Python thing, @dimpase solved it — so grateful! 
https://github.com/oliviaguest/pairwise_distance/issues/2 …
-
-
step 1: to do geopy.distance.great_circle(a,b).km in C :-)
-
hehehe yes I am actually going way slower because I'm struggling with remembering C https://en.wikipedia.org/wiki/Haversine_formula …
-
Looks like there's something from OSGeo that might be useful? You may have already found this. https://github.com/OSGeo/proj.4/wiki/GeodesicCalculations …
-
omg nice!!

-
good catch, although no docs for the library interface. one has to dig into geod source...
-
I need great_circle so I used this and all done!

https://rosettacode.org/wiki/Haversine_formula#C … cc @usethespacebar — promise to try and learn some Cython... -
but I can't promise for this project as the C code is already loading and saving csvs. This was so so so much easier C > Python for this!
End of conversation
New conversation -
-
-
well, why not pthreads then? https://computing.llnl.gov/tutorials/pthreads/ …
-
I expect the Cython version to be not dissimilar to such a C implementation though. With an added bonus of direct integration into Python.
-
I bet you just know way way more than me. I would have to learn Cython to do this. I think just a standalone C would work for me.
-
Python integration would be amazing though obviously!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

