I need to calculate zonal statistics (both mean and standard deviation) for each polygon within a shapefile. This I need to calculate from around one hundred rasters, stored in .tiff format. Each raster includes an index per specific date.
The zonal statistics I need to collect in the table, which structure must be as follows:
Polygon ID | Suffix | date | mean | stdev | date | mean | stdev |
---|---|---|---|---|---|---|---|
418111111 | NDVI | 03/01/2019 | 0.36555 | 15.26314 | 06/01/2019 | 0.26555 | 25.33333 |
523333333 | NDVI | 03/01/2019 | 0.52325 | 16.36514 | 06/01/2019 | 0.76255 | 26.33333 |