I have a dataset which has a high resolution of 30m (let's say classification Land-Use data) and another dataset with a lower resolution of 36km (let's say Evaporation data) for the same region. I want to remove some points from the lower resolution array-based on the high-resolution array. For example, I want to exclude the pixels in Evaporation data, which have a Land-use class '10' above a certain threshold/percentage.
Description (if needed): Let's consider the high-resolution (first image below) to an array of 10x10, and a lower resolution image to be an array of 2x2 (second image below).
I want to remove points on lower resolution image based on values of higher resolution image. Consider them overlapping perfectly, let's say if a said threshold of zero's (let's say more than 50%) from the first image appear in the quadrant (based on second image quadrant) a NaN
value would be assigned to the second image pixel.
I have done this kind of masking using ArcMaps, but I have no idea if this is possible using python.