topic Using Raster Calculator in Model Builder in Geoprocessing Questions
https://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370291#M12727
<HTML><HEAD></HEAD><BODY><SPAN>Hello, I have constructed a model that uses an OLS regression towards the end. I would like the values for two of the coefficients to be used as part of a raster calculator equation that rebuilds the regression and outputs to a raster. I have entered the equation that I want to use in the Raster Calculator tool, but cannot figure out how to make the two coefficients from the OLS regression become part of the equation (they are not listed as options under the Layers and Variables section of Raster Calculator). Part of the problem is that the model is designed to have those two coefficients be different every time the model is run. Is there any way that I can have the two coefficients become part of the equation? I have attached a screen shot of the model for clarity. Any help is greatly appreciated...</SPAN><BR /><BR /><SPAN>Thanks, </SPAN><BR /><BR /><SPAN>Graham</SPAN></BODY></HTML>Fri, 16 Mar 2012 07:13:26 GMTgrahamlangley-edwards2012-03-16T07:13:26ZUsing Raster Calculator in Model Builder
https://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370291#M12727
<HTML><HEAD></HEAD><BODY><SPAN>Hello, I have constructed a model that uses an OLS regression towards the end. I would like the values for two of the coefficients to be used as part of a raster calculator equation that rebuilds the regression and outputs to a raster. I have entered the equation that I want to use in the Raster Calculator tool, but cannot figure out how to make the two coefficients from the OLS regression become part of the equation (they are not listed as options under the Layers and Variables section of Raster Calculator). Part of the problem is that the model is designed to have those two coefficients be different every time the model is run. Is there any way that I can have the two coefficients become part of the equation? I have attached a screen shot of the model for clarity. Any help is greatly appreciated...</SPAN><BR /><BR /><SPAN>Thanks, </SPAN><BR /><BR /><SPAN>Graham</SPAN></BODY></HTML>Fri, 16 Mar 2012 07:13:26 GMThttps://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370291#M12727grahamlangley-edwards2012-03-16T07:13:26ZRe: Using Raster Calculator in Model Builder
https://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370292#M12728
<HTML><HEAD></HEAD><BODY><SPAN>Perhaps I should mention that I attached the Variables bubble to the Raster Calculator bubble with a precondition connector. The other option was a Map Algebra Expression connector, but when I tried that no connector appeared on the model connecting the two bubbles.</SPAN><BR /><BR /><SPAN>Thanks,</SPAN><BR /><BR /><SPAN>Graham</SPAN></BODY></HTML>Fri, 16 Mar 2012 17:42:25 GMThttps://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370292#M12728grahamlangley-edwards2012-03-16T17:42:25ZRe: Using Raster Calculator in Model Builder
https://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370293#M12729
<HTML><HEAD></HEAD><BODY><SPAN>Someone please help, I have a Tuesday deadline and have already scoured the forums for an answer.</SPAN><BR /><BR /><SPAN>Thanks</SPAN></BODY></HTML>Sat, 17 Mar 2012 16:20:19 GMThttps://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370293#M12729grahamlangley-edwards2012-03-17T16:20:19ZRe: Using Raster Calculator in Model Builder
https://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370294#M12730
<HTML><HEAD></HEAD><BODY><SPAN>There is some missing information here.... I'm assuming your "variables" output from the script tool is a string right? Say it's a space delimited text with two numbers: "234.2 -12.4".</SPAN><BR /><BR /><SPAN>The key to this is use of the Calculate Value tool to parse this output into new model variables that can be used in your Raster Calculator expression. </SPAN><BR /><BR /><SPAN>Calculate Value is the glue that really makes ModelBuilder more than a handy macro and demo toy. Unfortunately, it is unavailable if you just have an ArcView license (but it does get added with Spatial or 3d Extensions). </SPAN><BR /><BR /><SPAN>I posted [thread=182131] my complete answer[/thread] over on the Spatial Analyst forum because I think this is really a Raster Calculator tool question.</SPAN></BODY></HTML>Sun, 18 Mar 2012 19:30:16 GMThttps://community.esri.com/t5/geoprocessing-questions/using-raster-calculator-in-model-builder/m-p/370294#M12730curtvprice2012-03-18T19:30:16Z