I have a raster distributed rainfall data for a local
watershed. I want to use moving window of different sizes to calculate the mean
of precipitation within the window and find out the highest mean among all
windows of the same size.
Thanks.
Peng
Solved! Go to Solution.
Have you tried Focal Statistics?
Have you tried Focal Statistics?
Not yet, but I just found that this might work. So, I will try it.
Thanks a lot.
peng
?yes, it worked -- thank you !
peng
Hey Peng, It's customary to mark an answer as correct if it worked for you. Thanks!
Thanks for letting me know.
Just did it.
Peng
To be complete, one should realize that there are at least two types of statistical groupings when working with raster data...those that work with overlapping neighborhoods and those that work with adjacent neighborhoods
...focal vs block statistics. Both have their place. Details of both are documented in their respective help topics
How block statistics works the neighborhood 'jumps' by its size and shape to the right (then down)
...How focal statistics works the neighborhood 'moves' the neighborhood shape one cell to the right (then down)
Then don't forget there is Line Statistics and Point Statistics ... so the choice really depends upon the neighborhood type, shape and configuration and how you want to implement the movement.
This is an important point to make. Your explanation is very thorough -- thanks. For my analysis, I need overlay effect, which means I need to use 'Focal Statistics'.