I am trying to resample two raster layers with Python console in QGIS with this code:
outputs_0=Processing.runAlgorithm("saga:resampling", 'G:/DOCTORAT/2014/Incendis/Dades/LST/LST_TERRA/Tiff/2012/UTM30N/2012153_day.tif', True, 0, 0, 0, "-81084.51, 1138915.49, 3972094.6, 4861094.6", 1000.0, 'G:/DOCTORAT/2014/Incendis/Dades/LST/LST_TERRA/Tiff/2012/FINALS/2012153_day_FINAL.tif')
I got this:
Error: Wrong number of parameters
However, it seems to contain all needed parameters:
INPUT <ParameterRaster>
KEEP_TYPE <ParameterBoolean>
TARGET <ParameterSelection>
SCALE_UP_METHOD <ParameterSelection>
SCALE_DOWN_METHOD <ParameterSelection>
OUTPUT_EXTENT <ParameterExtent>
USER_SIZE <ParameterNumber>
USER_GRID <OutputRaster>
Someone could please help me?