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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.