py-gdalogr-cookbook icon indicating copy to clipboard operation
py-gdalogr-cookbook copied to clipboard

Wrong results in Calculate Zonal Statistics

Open Ariki opened this issue 10 years ago • 0 comments

It seems it's better to use statistical functions from numpy.ma with masked arrays because numpy functions produce strange results. For example, median() sometimes returns masked constant. Also, mean() and average() return different results.

Ariki avatar Nov 18 '14 09:11 Ariki