I need to combine several rasters but they have to fulfill a determinate condition (year), at the moment I´ve been able to extract the info that I need in to a list, but when I try to run the tool: Combine it seems it doesn't accept the list as a parameter, this is the code that I´m using:
from arcpy.sa import *
arcpy.env.workspace = "D:\Baseline_2\Eliana\Biomass.gdb"
rasters = arcpy.ListRasters()
for rc in rasters:
Year_0 = arcpy.sa.Combine([listtemp]); year_0.save(r"D:\Baseline_2\Eliana\Eliana.gdb\Year_0")
if you could help me that will be wonderfull