1

I am running the following model, which seems to work and populate the added field that I want, but the final calculate field doesn't stop running even though it seemed to do what it should. The point shapefile has 48,000 rows. Essentially I am seeing if !Yield! is not more than 2 standard deviations away from the !Yield! mean. If it is within the 2 standard deviations then return 1 else return 2 into the column.

Value = mean of the yield

Value2 = standard deviation of the yield.

I am using ArcGIS Desktop 10.5.1.

Model

Calc_field inputs

3
  • The iteration field is over a folder that will go through 20+ shapefiles. I am only trying to run this model right now with one shapefile in that folder. Commented Mar 14, 2019 at 20:28
  • 1
    You need to make both outputs of the Get Field value tools preconditions of the Calculate Field tool, i.e. they need to have been computed first before you attempt the field calculation. Currently whats stopping the logic going down the add field first before the summary branch? Nothing... Commented Mar 14, 2019 at 20:50
  • Setting the values passed to the field calculator as preconditions did the trick! Thank you!! Commented Mar 14, 2019 at 21:18

1 Answer 1

2

With help I figured it out. I set the values passed to the field calculator as preconditions. Thanks for the advice @Hornbydd.

correct model

answered Mar 14, 2019 at 21:21

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.