Is there a way to calculate zonal statistics outside of polygon?
I want to extract the mean values outside of the polygon. In this case, instead of calculating for the land, I want to use the ocean.
I use ArcMap 10.5 for my analysis.
You could create an "ocean" polygon to use for Zonal Statistics. Create a polygon from the boundaries of your entire raster, and then clip out the land, leaving only ocean behind.
Not sure but maybe you could use the Select tool for selecting your shp file. Then use the Zonal Statistics as Table tool which will get the mean value from the database using the selected polygon in raster format to define the zone. The resulting table with a single record in it will be used to store and pass the desired values back to the database. Finally, the table will be deleted and the next polygon will be selected to repeat the process.
You may check this link, they have done something similar.