Hot answers tagged


This is also possible in GDAL raster calculator and (imho) more intuitive than native raster calculator. Since it uses numpy functions, you can use numpy.where and numpy.nan like so: where(A<=0,nan,A) if you have loaded you layer as "Input layer A"

Only top voted, non community-wiki answers of a minimum length are eligible