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
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.