Hi Eric,
I tried to run this in python:
# Import arcpy module
import arcpy
# Check out the ArcGIS Geostatistical Analyst extension license
arcpy.CheckOutExtension("GeoStats")
merge1.csv.events = arcpy.GeostatisticalDatasets("C:\\temp\\KrigingordinaryJan152.xml")
Harris_Lat_Long.csv.events = "C:\\temp\\PM04Jan16.shp"
merge1.csv,events.Field = "Y04PMJan16"
arcpy.GACreateGeostatisticalLayer_ga("C:\\temp\\KrigingordinaryJan16.xml", newDataset, "PM04Jan16")
It is throwing me an error:
Traceback (most recent call last):
File "C:\Users\aramakrishnan\Documents\ArcGIS\scratch\Ordinary Kriging_09252013_01.py", line 19, in <module>
merge1.csv.events = arcpy.GeostatisticalDatasets("C:\\temp\\KrigingordinaryJan152.xml")
File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\_ga.py", line 300, in GeostatisticalDatasets
return GADatasets(gapy.GALayerInfo(ga_model_source))
TypeError: bad argument type for built-in operation
Am I missing something?
>>>