I have two raster:
R1 --> Extension raster ("RB_100" in the picture). This raster is used as expected extension for data and contains just 1 where I need data, and 0 where I don't.
R2 --> Precipitation raster ("Precipitation" in the picture). With values from 1 to 10.
Both rasters are already in the same extension and resolution. What I need is to generate a raster with data of R2 in every pixel where R1 is equal to 1 (grey pixels).
In other words, I need to create a raster where those grey pixels contain the closest value from R2 ("Precipitacion").