IDW Iteration - Model Builder

Discussion created by liamhendricken on Nov 28, 2011
Latest reply on Mar 29, 2016 by dkwiens
I've seen a lot of posts about this, but there do not seem to be many helpful answers.  I have a point feature layer which describes 18 ozone monitoring sites (on rows).  Some of my fields are descriptors for those sites, while the bulk of the fields are random samples in time (rxxxx) which report ozone level by site as such:

site     x       y     r0001    ...     r0254       
1        0       0        2                  4
2        0       1        4.5               5
3        1       0        5.5               8
4        1       1        9                  1
...      ...     ....       ...               ....

What I am trying to do is use model builder to run the IDW tool for all random steps, but can't quite figure out how to feed the z value field in IDW with the field names r0001 through r0254.  I'm not very literate with Python, and am fairly new to Model Builder.  I know that I can set up batch runs for tools, but would rather not if anyone is familiar with another way to do this?  Can I feed the names of the z value fields as a list into IDW? 

I transposed the field names and tried to feed them into an iterator to spit the names out as variables, but could not figure out how to feed them into the z value field variable.


Edit: I've done searching for these methods, and here are some examples of similar questions, but the answers are still unclear to me or don't exist:

First: trying to do something exactly like this, but the exact steps user2445 suggests are not clear (the link between the iteration and the IDW tool specifically).

Second: is from these forums, but unanswered.