AnsweredAssumed Answered

Zonal Statistics as Table - exclude values?

Question asked by israel1986 on Jun 27, 2013
Latest reply on Jul 1, 2013 by israel1986
Hi,

Is there a way to exclude certain values when running the zonal statistics tool? More specifically, I need to get the sum of the raster cells in each zone, and that works fine, but I also want to calculate the number of the cells that their values are higher than zero (zero in my data is equivalent to "no data"), regardless of their value.
When I run the tool, the output table contains a "Count" column, but it counts all the cells in the zone, including the zeros, so it doesn't give me any valuable information.
I know that theoretically I can use the Raster Calculator and replace the zeros with NoData, but I have dozens of rasters, and I don't want to use this option.

Thanks,
Israel

Outcomes