Batch IDW from shapefile

676
2
06-17-2011 05:22 PM
MichaelNewton
New Contributor
I have a point shapefile with 365 (daily for 1 year) data columns.  I need to run an IDW for each column, 365 in total.  I have done this as a batch process in the past.  Is there any way to get the Z-value field and Output raster entries in the batch to fill sequentially?  Or any other way to do this?  I played with Model Builder a bit, but couldn't find an option there either. 

It gets old selecting D1 (for day 1), D2, D3, D4....D365 for the Z-value and then naming the output rasters accordingly.  My limited programming experience tells me there has to be a smarter and faster way to do this.
0 Kudos
2 Replies
WendyRyan
New Contributor
I feel your pain, I've tried getting model builder to do this in several ways but to no avail.  The one process I did get to run, I have no idea what the output was, but I believe it did IDW across the rows?
Weird.
0 Kudos
curtvprice
MVP Esteemed Contributor
I have a point shapefile with 365 (daily for 1 year) data columns.  I need to run an IDW for each column, 365 in total.  I have done this as a batch process in the past.  Is there any way to get the Z-value field and Output raster entries in the batch to fill sequentially?  Or any other way to do this?  I played with Model Builder a bit, but couldn't find an option there either.


If you have ArcGIS 10, Model Builder is definitely the way to do this.  You can use the For iterator (1...365) and use your for variable (%k%) in the input field "D%k%" output dataset name: "out%k%".

Batch is an older technique from 9x that can be helpful, but IMHO the 10x Model Builder iteration is generally a more effective way to do such things.
0 Kudos