[Qgis-user] Problem with raster calculator

Jesus Munoz jesusmunozserrano at gmail.com
Wed Apr 15 00:58:19 PDT 2015


Good morning list!!

I am trying to do a cloud mask for a Landsat image based on the values of the pixels where the clouds are found. I am using the raster calculator for this purpose by introducing the expression:

		(“Band 1 layer name" >= 73) * "Band 1 layer name”

So basically, I am trying to obtain a layer in which all pixels with a value lower than 73 are removed. 

However, after calculating this expression I only get an empty raster layer, only visible in the layers panel and populated only by “nan” values. Does anybody know what am I doing wrong???

Jesus


More information about the Qgis-user mailing list