I'm writing a script that will iterate rasters and do some calculations on each raster. I would like the formula in the GDAL raster calculator to include a variable, which I read from a txt file. I don't want the user to insert the variable but to integrate it in the script.
The code of the raster calculator I use is this:
I need the number inside of the sin, in this example 65, to be a variable, so every time I'll have a different number.
Is that possible to integrate a variable in this syntax?