<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using certain Geostatistical Wizard tools from a Python script? in ArcGIS GeoStatistical Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/using-certain-geostatistical-wizard-tools-from-a/m-p/251990#M588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to set up a python script (or a custom tool using a python script) that will create a set of surfaces for any given point set I input into my script.&amp;nbsp; I am using 10.1, but could upgrade to 10.2 if newer tools would be better suited.&amp;nbsp; For now, I want this tool to create one RBF (Radial Basis Functions) surface and one Kriging surface.&amp;nbsp; I will want a raster output but possibly also a geostatistical layer output as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to call the geostatistical analyst tools (RBF &amp;amp; Kriging) in my python script.&amp;nbsp; I will be able to hardwire or custom-call certain parameters of the geostatistical analyst tools but I want to be able to pull in the default or optimized values as calculated in the geostatistical wizard or in the tools themselves.&amp;nbsp; For example with RBF:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can hardwire or custom-call in: input/output features, zfield, max/min neighbors, sector type, function (spline, ect)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want certain parameters to be dependent on the data set I am putting into the tool (semiaxes, cellsize, kernel parameter value).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RBF questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When one uses the radial basis functions tool in the geostatistical analyst tools, a default major and minor semiaxis are automatically calculated and entered into the menu when data is placed in the 'input features' box.&amp;nbsp; A cell size is also suggested.&amp;nbsp; Could these parameters be called from a python script somehow?&amp;nbsp; I assume both are just looking at the spatial extent of the data and assigning a default based on it, but I would really like to know how to calculate a reasonable semiaxis value. Cell size is less important.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The kernel parameter: It seems that the RBF tool from geostatistical analyst tools will use the 'optimized kernel parameter value' for any surface you put into it.&amp;nbsp; Is this true?&amp;nbsp; An example to explain: When I change sector type to 8-sector (from default 1-sector) in the GA wizard, a new kernel parameter value will be calculated if I hit the button to optimize the kernel parameter.&amp;nbsp; I noticed the GA layer outputted from RBF toolbox tool had the same kernel value as the value in the GA wizard after you hit the optimize button.&amp;nbsp; From this I deduce that the RBF tool in the geostatistical analyst tools toolbox will autmoatically calculate &amp;amp; use the optimized value for whatever input parameters you put in.&amp;nbsp; Is this correct?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kriging questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can you run kriging from the toolbox?&amp;nbsp; I don't see any variogram tools in the 'Empirical Baysian Kriging' tool (or moving window)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to use the default values the GA wizard would give when looking at input data for variogram values &amp;amp; neighborhood values in a python script.&amp;nbsp; Can this be done?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This might seem like a lot of questions, but what I want is pretty simple.&amp;nbsp; I want to have a tool that I can drop any data set into and have some basic standard surfaces come out.&amp;nbsp; Thanks to All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jake&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 22:23:08 GMT</pubDate>
    <dc:creator>JacobDeAngelo</dc:creator>
    <dc:date>2013-12-04T22:23:08Z</dc:date>
    <item>
      <title>Using certain Geostatistical Wizard tools from a Python script?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/using-certain-geostatistical-wizard-tools-from-a/m-p/251990#M588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to set up a python script (or a custom tool using a python script) that will create a set of surfaces for any given point set I input into my script.&amp;nbsp; I am using 10.1, but could upgrade to 10.2 if newer tools would be better suited.&amp;nbsp; For now, I want this tool to create one RBF (Radial Basis Functions) surface and one Kriging surface.&amp;nbsp; I will want a raster output but possibly also a geostatistical layer output as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to call the geostatistical analyst tools (RBF &amp;amp; Kriging) in my python script.&amp;nbsp; I will be able to hardwire or custom-call certain parameters of the geostatistical analyst tools but I want to be able to pull in the default or optimized values as calculated in the geostatistical wizard or in the tools themselves.&amp;nbsp; For example with RBF:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can hardwire or custom-call in: input/output features, zfield, max/min neighbors, sector type, function (spline, ect)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want certain parameters to be dependent on the data set I am putting into the tool (semiaxes, cellsize, kernel parameter value).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RBF questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When one uses the radial basis functions tool in the geostatistical analyst tools, a default major and minor semiaxis are automatically calculated and entered into the menu when data is placed in the 'input features' box.&amp;nbsp; A cell size is also suggested.&amp;nbsp; Could these parameters be called from a python script somehow?&amp;nbsp; I assume both are just looking at the spatial extent of the data and assigning a default based on it, but I would really like to know how to calculate a reasonable semiaxis value. Cell size is less important.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The kernel parameter: It seems that the RBF tool from geostatistical analyst tools will use the 'optimized kernel parameter value' for any surface you put into it.&amp;nbsp; Is this true?&amp;nbsp; An example to explain: When I change sector type to 8-sector (from default 1-sector) in the GA wizard, a new kernel parameter value will be calculated if I hit the button to optimize the kernel parameter.&amp;nbsp; I noticed the GA layer outputted from RBF toolbox tool had the same kernel value as the value in the GA wizard after you hit the optimize button.&amp;nbsp; From this I deduce that the RBF tool in the geostatistical analyst tools toolbox will autmoatically calculate &amp;amp; use the optimized value for whatever input parameters you put in.&amp;nbsp; Is this correct?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kriging questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can you run kriging from the toolbox?&amp;nbsp; I don't see any variogram tools in the 'Empirical Baysian Kriging' tool (or moving window)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to use the default values the GA wizard would give when looking at input data for variogram values &amp;amp; neighborhood values in a python script.&amp;nbsp; Can this be done?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This might seem like a lot of questions, but what I want is pretty simple.&amp;nbsp; I want to have a tool that I can drop any data set into and have some basic standard surfaces come out.&amp;nbsp; Thanks to All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jake&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 22:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/using-certain-geostatistical-wizard-tools-from-a/m-p/251990#M588</guid>
      <dc:creator>JacobDeAngelo</dc:creator>
      <dc:date>2013-12-04T22:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using certain Geostatistical Wizard from a Python script?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/using-certain-geostatistical-wizard-tools-from-a/m-p/251991#M589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The default major/minor semiaxes are calculated as one quarter of the diagonal extent of the input points (because we also use minimum and maximum neighbors, this parameter is not very important).&amp;nbsp; The default cell size is calculated as the smaller of the width and height of the input data extent, divided by 250.&amp;nbsp; You can expose these as parameters in your script tool so that the defaults can be overridden.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;About the kernel parameter, you are correct that it is optimized to find the minimum root-mean-square crossvalidation error, treating all other parameters as fixed.&amp;nbsp; When you change a different parameter, you will get a new optimal kernel parameter that reflects the change in the other parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Empirical Bayesian Kriging does variography automatically, which is why it is available as a geoprocessing tool.&amp;nbsp; No interactive variography is required, and we suggest using EBK for automation of kriging.&amp;nbsp; It is easier to automate, and it is more trustworthy when run blindly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still want to automate kriging (other than EBK) as it is implemented in the Geostatistical Wizard, you should start by reading this topic: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/92508-Need-Help-Automation-of-Kriging-using-Model-builder-or-python-Reg" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/92508-Need-Help-Automation-of-Kriging-using-Model-builder-or-python-Reg&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's quite long, and a lot of it won't apply to you, but all the information about automating kriging is in there.&amp;nbsp; The only difference is that if you're using 10.1, you won't be able to use the GeostatisticalDatasets arcpy class.&amp;nbsp; You should consider upgrading to make this workflow easier.&amp;nbsp; If you don't upgrade, you'll have to pass the new datasets as comma- and semicolon-delineated strings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 22:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/using-certain-geostatistical-wizard-tools-from-a/m-p/251991#M589</guid>
      <dc:creator>EricKrause</dc:creator>
      <dc:date>2013-12-04T22:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using certain Geostatistical Wizard tools from a Python script?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/using-certain-geostatistical-wizard-tools-from-a/m-p/251992#M590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks- great reply.&amp;nbsp; You answered all my questions relating to RBF.&amp;nbsp; That post you linked me to does a good job with all the Kriging questions.&amp;nbsp; I'll post back if I need help, but I think you covered it all.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jake&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 21:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/using-certain-geostatistical-wizard-tools-from-a/m-p/251992#M590</guid>
      <dc:creator>JacobDeAngelo</dc:creator>
      <dc:date>2013-12-05T21:18:00Z</dc:date>
    </item>
  </channel>
</rss>

