I want to extract raster values which is greater than 0.5 .I Used Raster Calculator to create a new raster which have values greater than 0.5 .
Formula for Raster Calculator:
("raster" > 0.5) * "raster"
but it create a tiff having values from 0 . Now I want to change 0 to No Data
For this i tried Raster--> Conversion --> Translate(Convert Format)
gdal_translate -a_nodata 0 -of GTiff input.tif output.tif
But output does'nt have correct values.
Is there any other way to do this by Python Console or by GDAL .