I have a raster file on precipitation and I want to create zonal statistics as a table using a shapefile with boundaries of countries across the world. However it appears that I need to take into account that in different latitudes the corresponding area is different and thus I need to weight my statistic (mean etc.) for area.
Any suggestions on how I can do that?