Xander Bakker , Thank you very much.
Yes, you are absolutely correct. i have generated that point from raster data, actually i want to downscale the raster data to meet the spatial resolution with base map . Thats why i am trying to apply interpolation method.
But from Kriging method we getting error, possibly error due to downscaling cell size, I am thinking to apply linear interpolation IDW method, though i have modified that code according to IDW interpolation, but the problem is same with the script, neither error nor output.
Below is updated script for IDW
import arcpy
from arcpy import env
from arcpy.sa import *
arcpy.env.parallelProcessingFactor = "100%"
arcpy.env.overwriteOutput = True
arcpy.CheckOutExtension("Spatial")
env.workspace = r"D:\NPP_Test\KRIGING\Test_Points"
points = arcpy.ListFeatureClasses("r*_mean", "POINT")
print points
out_folder = r"D:\NPP_Test\KRIGING\OUTPUT_RAS"
zFields = ["GRID_CODE"]
cellSize = 0.002298707671
power = 2
searchRadius = RadiusVariable(10, 150000)
mask="D:\NPP_Test\KRIGING\MASK_FILE\GUJARAT-STATE_NEW.shp"
for fc in points:
print fc
outIDW = Idw(fc, zField, cellSize, power, searchRadius)
IDWMASk = ExtractByMask(outIDW, mask)
tifname = fc[:4]
print tifname
IDW_OUT= os.path.join(out_folder, 'r{0}.tif'.format(tifname))
IDWMASk.save(IDW_OUT)
print 'done'