AnsweredAssumed Answered

Doubt in ListField() for Interpolating all Colums(Fields) through Iteration

Question asked by Vinay1993 on Apr 20, 2017
Latest reply on Apr 24, 2017 by curtvprice

Hi, I'm Vinay.M.,

A Scholar of GIS from University of Mysore, India


I'm trying to build ArcPy Code, to Interpolate(IDW) all columns(DAY001, DAY002, and DAY003) in a feature class(Testing.shp) using ListField()


But Failed


import arcpy
import os
from arcpy import env
from import *
arcpy.env.overwriteOutput = True

workspace = r"C:\Users\Admin\Desktop\Python"
env.workspace = workspace

fields = arcpy.ListFields("C:\Users\Admin\Desktop\Python\Testing.shp")

for field in fields:
     outIDW = Idw(),fields+".tif"))



Anyone Please help me


File Attached