Tutorial example on help menu for Empirical bayesian Kriging doesn't work.

4372
8
08-22-2013 07:36 AM
BarryBarrios
New Contributor
I'm trying to run this code below:
import arcpy
arcpy.EmpiricalBayesianKriging_ga("ca_ozone_pts", "OZONE", "outEBK", "C:/gapyexamples/output/ebkout",
                                  10000, "NONE", 50, 0.5, 100,
                                  arcpy.SearchNeighborhoodStandardCircular(300000, 0, 15, 10, "ONE_SECTOR"),
                                  "PREDICTION", "", "", "")


But it doesn't work because I don't have the dataset ca_ozone_pts. I downloaded the Tutorial data and in the folder
C:\arcgis\ArcTutor\Geostatistical Analyst
I only see ca_ozone.gdb an din there I don't see ca_ozone_pts. Please help.
0 Kudos
8 Replies
SteveLynch
Esri Regular Contributor
You can use the feature class called O3_Sep06_3pm in the ca_ozone file geodatabase.

Rename the feature class or modify the code snippet.
0 Kudos
BarryBarrios
New Contributor
Attached is all the files I see for ca_ozone.gdb. There's no ca_ozone_pts.
0 Kudos
BarryBarrios
New Contributor
Oh ok, great I used what you suggested, to use 03_Sep06_3pm. that did the trick. For the second example:

inPointFeatures = "ca_ozone_pts.shp

What do I use for "ca_ozone_pts.shp"?
0 Kudos
SteveLynch
Esri Regular Contributor
# set this to the location where the feature class is in, viz.,
arcpy.env.workspace = "C:/arcgis/ArcTutor/Geostatistical Analyst/ca_ozone.gdb"

# Set equal to the name of the feature class, viz.,
inPointFeatures = "O3_Sep06_3pm"
0 Kudos
LiKi_Da
New Contributor
Could you please upload the example tutorial data that you downloaded?
0 Kudos
SteveLynch
Esri Regular Contributor
The "tutorial" page at http://resources.arcgis.com/en/help/main/10.2/index.html#//0031000000nz000000 suggests that you go to
https://customers.esri.com/index.cfm?event=login.show to download the data.

Have you tried that?

Steve
0 Kudos
LiKi_Da
New Contributor
The "tutorial" page at http://resources.arcgis.com/en/help/main/10.2/index.html#//0031000000nz000000 suggests that you go to
https://customers.esri.com/index.cfm?event=login.show to download the data.

Have you tried that?

Steve


I do not have the customer account. If you have the examples, please send them to me. In addition, do you know how to use EBK with the barrier (boundary)?

Thank you.
0 Kudos
SteveLynch
Esri Regular Contributor
EBK with barriers does not exist.
0 Kudos