import arcpy from arcpy.sa import * #Checkout SA extension arcpy.CheckOutExtension("Spatial") # May want to set environments Cellsize, extent, snap, and workspaces #Cast datasets as Rasters MAR = Raster("C:/data/meanannurain") #this doesn't actually need to be cast b/c it's used in a GP tool not with operators SEFR = Raster("C:/data/soilerodfact") LS = Raster("C:/data/ls") LCR = Raster("C:/data/landcover") #Universal Soil Loss Equation Result = 0.0012* (Float("MeanAnnualRain") ** 2) * SEFR * LS * LCR #Save the temperary result Result.save("C:/output/result")
Z = (math.sin(slope * (3.14 / 180)) / 0.0896) ** 1.3
sinSlope = Sin((slope * (3.14 / 180))) Z = (sinSlope / 0.0896) ** 1.3
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.