On 12/8/2010 9:48 AM, josef.p...@gmail.com wrote:
> Just a thought since I'm not doing spatial statistics.
>
> If you can create (integer) labels that assigns each point to a zone,
> then you can treat it essentially as a 1d grouped data, and you could
> use np.bincount to calculate some statistics
On Wed, Dec 8, 2010 at 12:12 PM, Gregory, Matthew
wrote:
> Hi all,
>
> Likely a very newbie type of question. I'm using numpy with GDAL to
> calculate zonal statistics on images. The basic approach is that I have a
> zone raster and a value raster which are aligned spatially and I am storing
Hi all,
Likely a very newbie type of question. I'm using numpy with GDAL to calculate
zonal statistics on images. The basic approach is that I have a zone raster
and a value raster which are aligned spatially and I am storing each zone's
corresponding values in a dictionary, then calculating