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

  • 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. – TernPloverLab Mar 14 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... – Hornbydd Mar 14 at 20:50
  • Setting the values passed to the field calculator as preconditions did the trick! Thank you!! – TernPloverLab Mar 14 at 21:18
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.