I have two raster layers. One layer contains the data of the first day a pixel experiences degrees Celsius above a certain threshold. The other layer contains hotspots in Iceland. These hotspots always meet this threshold condition so they skew the data in the first layer.
Therefore, I would like to set the pixels in layer 1 to 0, if they are equal overlap with the hotspots in layer 2.
I tried using the raster calculator in QGIS:
"layer1@1" * ("layer2@1" * 0)
But this gives me a map only consisting of 0's. I would like to only set the values within the raster pixels of layer 2 to 0 in layer 1.
How can I do that with the raster calculator?