opendatacube / odc-algo

Apache License 2.0
5 stars 1 forks source link

Fix geomedian chunk misplacement #4

Closed emmaai closed 10 months ago

emmaai commented 10 months ago

To resolve the issue in odc-stats regards to geomedian ref: https://github.com/opendatacube/odc-stats/issues/100. The issue was caused by the race-condition on numexpr.evaluate when allocating the memory out of the function in multi-threading. changes:

I don't have a better way to test geomedian here than in odc-stats atm.