[Qgis-user] zonal statistics with multiple bands raster
Xavier Vollenweider
Xavier.Vollenweider at unige.ch
Fri Aug 9 05:18:10 PDT 2013
Dear all,
I would like to compute zonal statistics from a raster file with multiple bands (11'117 actually). The raster file (.cdf) contains daily rainfall for Kenya from 1983 to present. I need to get the average rainfall for each county.
I know how to do it manually for each band, but doing it on the 11'117 bands is clearly not option...
Could you provide me with a way to automatize it via the python console?
Ideally, I would like the end result should be a shape file with the 11'117 attributes that I will eventually save as a .csv. The goal is to build a panel dataset that I will use in R or Stata.
All the best,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130809/e3e6a3f5/attachment.html>
More information about the Qgis-user
mailing list