I am trying to use the model builder for the RUSLE Model. Well this is how the model looks like:[ATTACH=CONFIG]24064[/ATTACH]So in the raster calculator I have a formula which also involves the rasters generated in the model. This is error which I get .Could anyone tell me what could be going wrong.[ATTACH=CONFIG]24065[/ATTACH]Below is the forumla which I am using in the first raster calculator block:Power( [ "%FlowAcc_Flow%" ] * 10 / 21 , 0.4 ) * Power( Sin( "%Slope_Fill%" ) / 0.09 , 1.4 ) * 1.4I am just trying to use it in the model and not as a python script.Regards,Senthil
Try adding in a (Float ...) like this: (Float(Power( [ "%FlowAcc_Flow%" ] * 10 / 21 , 0.4 )) * (Float(Power( Sin( "%Slope_Fill%" ) / 0.09 , 1.4 ) * 1.4)There is a Float tool in Model Builder you can add to the variables as well if needed.
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.