<?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 Re: How can I do batch processing with Geostatistical Wizard (not the tool Geostatistical analyst) in ArcGIS specifically for Kriging? in ArcGIS GeoStatistical Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234522#M540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Moreover, when I first set the template layer, I always click or optimize the model in the Geostatistical wizard. Does it optimized the model for each model when used as the template layer or will only "follow" the optimized *model*&amp;nbsp;of the template layer itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2019 08:07:54 GMT</pubDate>
    <dc:creator>VitoTorres</dc:creator>
    <dc:date>2019-07-11T08:07:54Z</dc:date>
    <item>
      <title>How can I do batch processing with Geostatistical Wizard (not the tool Geostatistical analyst) in ArcGIS specifically for Kriging?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234518#M536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm trying to process multiple point vectors at once using Geostatistical Wizard, is there any way I can batch process kriging using Geostatistical Wizard?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 04:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234518#M536</guid>
      <dc:creator>VitoTorres</dc:creator>
      <dc:date>2019-07-10T04:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do batch processing with Geostatistical Wizard (not the tool Geostatistical analyst) in ArcGIS specifically for Kriging?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234519#M537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please have a look at&amp;nbsp;&lt;/P&gt;&lt;H1 class="" style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; font-size: 2.82715rem;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/product/analytics/automating-geostatistical-interpolation-using-template-layers/"&gt;Automating geostatistical interpolation using template layers&lt;/A&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 12:41:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234519#M537</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2019-07-10T12:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do batch processing with Geostatistical Wizard (not the tool Geostatistical analyst) in ArcGIS specifically for Kriging?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234520#M538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I need to use model builder or other tools in order to automate the process so that all of my various&amp;nbsp;individual inputs will be interpolated using the template layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 06:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234520#M538</guid>
      <dc:creator>VitoTorres</dc:creator>
      <dc:date>2019-07-11T06:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do batch processing with Geostatistical Wizard (not the tool Geostatistical analyst) in ArcGIS specifically for Kriging?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234521#M539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moreover, when I first set the template layer, I always click or optimize the model in the Geostatistical wizard. Does it optimized the model for each model when used as the template layer or will only "follow" the optimized layer of the template layer itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 08:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234521#M539</guid>
      <dc:creator>VitoTorres</dc:creator>
      <dc:date>2019-07-11T08:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do batch processing with Geostatistical Wizard (not the tool Geostatistical analyst) in ArcGIS specifically for Kriging?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234522#M540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Moreover, when I first set the template layer, I always click or optimize the model in the Geostatistical wizard. Does it optimized the model for each model when used as the template layer or will only "follow" the optimized *model*&amp;nbsp;of the template layer itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 08:07:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234522#M540</guid>
      <dc:creator>VitoTorres</dc:creator>
      <dc:date>2019-07-11T08:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do batch processing with Geostatistical Wizard (not the tool Geostatistical analyst) in ArcGIS specifically for Kriging?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234523#M541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vito,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to automate the Optimize button using Create Geostatistical Layer, but it it involves make manual edits to XML files, so be careful before doing this.&amp;nbsp; We generally do not recommend automating this type of kriging which is why there is no easy way to do it.&amp;nbsp; Instead, we recommend using Empirical Bayesian Kriging, which is available as a geoprocessing tool for easy automation, and it is much safer to run in an automated fashion (though no interpolation method is completely safe when run without active monitoring).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really want to automate the Optimize button in kriging, this topic will explain how to create the XML file and what alterations you need to make:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/80709"&gt;https://community.esri.com/thread/80709&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That topic is very long with lots of discussion that won't be relevant to you.&amp;nbsp; Here are the relevant posts:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;The Create Geostatistical Layer tool takes a model source as input.&amp;nbsp; This model source can be a geostatistical layer (either a layer in ArcMap or saved as a .lyr file on disk) or an XML model source.&amp;nbsp; For your purposes, the XML will be easier to use.&amp;nbsp; The tool reads all the interpolation parameters from the model source (type of kriging, nugget, range, sill, transformations, etc) and applies them to a new dataset.&amp;nbsp; This is useful for something like temperature data taken daily.&amp;nbsp; You can build the model for one day and easily apply that model to each subsequent day.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;However, if you're using different kinds of data (temperature, elevation, pollution, etc), you don't want to keep using the same model over and over because the interpolation parameters will not fit different types of data.&amp;nbsp; So, you need to tell the tool to recalculate all these parameters (explained below) for each new dataset.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;You only need to manually create one XML file source.&amp;nbsp; You can do this with the Geostatistical Wizard.&amp;nbsp; Open the Wizard, choose Ordinary kriging, and give it a dataset.&amp;nbsp; When you click Finish, the Method Report screen will pop up that shows all the parameters that you used.&amp;nbsp; Click "Save..." and save the XML file in a convenient location.&amp;nbsp; You then need to open the XML file with a text editor (Cooktop is a useful and free XML editor, but you can do it with Notepad too).&amp;nbsp; Inside the XML, you'll see all of the parameters, and most of them will have&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;auto = "false"&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;after them.&amp;nbsp; This auto flag tells the tool whether to recalculate that parameter or keep it fixed when it is used as a model source.&amp;nbsp; For every parameter that you want to be recalculated, you need to change the flag to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;auto = "true"&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and save the XML.&amp;nbsp; You only need to do this once, and you'll keep reusing this same model source.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;You can then set up a loop in Python to iterate through your datasets.&amp;nbsp; For each dataset, you'll use the XML as the model source in Create Geostatistical Layer.&amp;nbsp; This will generate a geostatistical layer for each dataset, where the interpolation parameters have been recalculated, and you can use these layers to create the ASCII files that you described in your first post.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;The difficulty in automating Ordinary/Simple kriging is one of the many reasons we made Empirical Bayesian Kriging as a geoprocessing tool.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;If you are using ArcGIS Pro, you'll find the option to save the XML in a dropdown menu on the Method Report screen of the Geostatistical Wizard.&amp;nbsp; In ArcMap, it is a button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The specific changes you need to make to the XML file to automate the optimize button is explained in this post:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;You can recreate the defaults from the Geostatistical Wizard by adding one line to your XML file.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;You should see a line at the top of the XML that says:&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;&amp;lt;model name="Kriging"&amp;gt;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;Change this line to:&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;&amp;lt;model name="Kriging" optimize = "BySill"&amp;gt;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;You actually don't need to change any "auto" flags.&amp;nbsp; This "optimize" flag will override any auto flags, so it doesn't matter if they are false or true.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;If you want to automate the Optimize Model button in the Geostatistical Wizard, you can change that same line to:&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;&amp;lt;model name="Kriging" optimize = "ByCrossvalidation"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You will want to use the "ByCrossvalidation" option, and you don't need to worry about "auto" flags.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make a copy of the XML before you edit it because it is very easy to accidentally corrupt it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 17:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-can-i-do-batch-processing-with-geostatistical/m-p/234523#M541</guid>
      <dc:creator>EricKrause</dc:creator>
      <dc:date>2019-07-12T17:15:43Z</dc:date>
    </item>
  </channel>
</rss>

