I have a raster with depths (ESRI ASCII DEM format, named "combined_smooth") from "-5" to "6" (positive values are depths, negative land heights). I want to increase the depth by 2.17 m, and have written the following expression for the raster calculator:
("combined_smooth@1" >= 0) * (2.17+"combined_smooth@1")+("combined_smooth@1" < 0)*-5
This correctly adds "2.17" to the depths, but also makes the smallest vales in the raster (a height) equal to "-3.40282e+38". Running a second round of the calculator as:
("combined_smooth@1"<-5)*-5 + ("combined_smooth@1">=-5)*"combined_smooth@1"
yields an identical raster, who's minimal value is still "-3.40282e+38". I assume this is some sort of NODATA_VALUE, but opening the file in shows NODATA_Value as -9999 and a search in the file find no values like "-3.40282e+38".