I have created a band where cloud pixels are set as NaN. Is there a way to create a new band where a buffer of pixels that are, for example, 10 pixels away from a cloud pixel (so NaN) is added so I get a band where both clouds and the buffer are set as NaN?
i see. that’s a pity, though. considering the high resolution of S2 data, i guess, it’s not that rare that users want larger filter kernels. your iteration suggestion is a nice workaround indeed.