0

I am trying to iterate through a folder of rasters, reclassify each raster, then combine all of the reclassified rasters using Cell Statistics (to get the overall SUM of the reclassified rasters). I have read countless help forums and my Model should be working, but I am not able to connect the "Cell Statistics" block to the "Output Values" from the "Collect Values." For some reason, the only variables available to be under the "Cell Statistics" input picker box are "Raster" and "Reclassified Rasters" - I would expect "Output Values" to be listed as well, as that is the link I am trying to make.

ModelBuilder

CellStatsPicker

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Jan 30, 2014 at 19:52
0

3 Answers 3

2

You need to split this into two models. Have everything up to collect values in one model, then make output value of the collects tool a parameter.

Drag this all into a new model that has the cell statistics tool. You only want the cell statistic tool to run once so it should not be in the same model as the iterator.

Hornbydd
44.9k5 gold badges42 silver badges84 bronze badges
answered Feb 4, 2014 at 20:36
0

In fact, even if it does not show up in your drop down menu, you could connect to the results of your collect tool. Therefore, you can draw a line from your "output values" green ellips to your "cell statistics" tools using the "connector button" (third button from the right)

answered Jan 31, 2014 at 11:32
0

I had a similar issue to this, but found if I ran the model first (when it was in the same state as yours above, with Cell Statistics still in white), it iterated the rasters and populated the Output Values. After that I was able to connect the Output Values straight to Cell Statistics (using the connector tool) as the Input Rasters. Then my model worked.

I posted my model in answer to another question

answered May 8, 2014 at 5:11

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.