rasterList = gp.ListRasters("","GRID") somaExp = "" #note that your code had somaExp = " " (and extra space) for raster in rasterList: somaExp = somaExp + raster + " + " #Note the SOMA language requires single spaces around the operations, so your "+" would be invalid gpsa = outputFolder + "\\output" #Note in your code you were only naming the folder gp.SingleOutputMapAlgebra_sa(soma[:-3], gpsa) #Note the [:-3] index
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.