I have a GeoTiff raster with a format of Float32 and values 0.00 to 5.00. I am attempting to change all raster cells with a value below 0.10 to 0.10, and leave all other cells in the raster dataset unchanged.
Using some of the basic code examples provided on the GDAL Man pages, the initial snippet of code I used is as follows:
The code executes successfully, however this sets all values below 0.10 to zero. What alteration to the formula needs to be made in order to meet the desired result?