it removes the 'median' option from the 'Statistics type' field.
import arcpy from arcpy import env from arcpy.sa import * YourOutputRaster = Divide(Float(ZonalStatistics("YourZoneRaster","Value",Int(Times("YourFloatingDataRaster",100)),"MEDIAN","DATA")),100)
I'm sorry, but I don't undestrand something.. how do you calculate the mean with one raster and one polygon layer? I want to do something alike but I can't. When I click in "cell statistics", it only allows me to add raster layers...
The experts can correct me if I'm wrong, but another approach is to use Zonal Statistics as Table. This creates a table with all the stats in it.
Process:
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.