arcpy.gp.RasterCalculator_sa("((\"%RT_v4_2028_0_albers_tif%\" * 31) + (\"%RT_v4_2028_1_albers_tif%\" * 28) + (\"%RT_v4_2028_2_albers_tif%\" * 31)) * 100", rt_sum_2028_100_tif)
# Import arcpy module import arcpy from arcpy.sa import * # Check out any necessary licenses arcpy.CheckOutExtension("spatial") # Local variables: RT_v4_2027_0_albers_tif = "RT_v4_2027_0_albers.tif" RT_v4_2027_1_albers_tif = "RT_v4_2027_1_albers.tif" RT_v4_2027_2_albers_tif = "RT_v4_2027_2_albers.tif" rt_sum_2027_100_tif = "Y:\\RT_annual\\rt_sum_2027_100.tif" rast = (Raster(RT_v4_2027_0_albers_tif) * 31.0 +\ Raster(RT_v4_2027_1_albers_tif) * 28.0 +\ Raster(RT_v4_2027_2_albers_tif)) * 100 rast.save(RT_v4_2027_2_albers_tif)
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.