I swear this used to work. I don't get any errors which is the confusing part- it just regurgitates the same layer in its original projection (in this case epsg 32630).
Version of Q is 3.10 A corunya.
raster = "raster.tif" #replace with a tif of your own not in 27700
crs = 27700 #british national grid
#reproj raster layer
processing.run("gdal:warpreproject",
{'INPUT': path + raster,
'SOURCE_CRS':None,
'TARGET_CRS':QgsCoordinateReferenceSystem("'" + 'EPSG:' + "'" + str(crs) + "'"),
'RESAMPLING':0,
'NODATA':None,
'TARGET_RESOLUTION':None,
'OPTIONS':'',
'DATA_TYPE':0,
'TARGET_EXTENT':None,
'TARGET_EXTENT_CRS':None,
'MULTITHREADING':False,
'EXTRA':'',
'OUTPUT':path + raster})
rasterMap = iface.addRasterLayer(path + raster, "raster")
Can you help me?