<?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: Scripting IDW: optimize power parameter? in ArcGIS GeoStatistical Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398261#M810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect. Thanks Steve.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2013 11:40:34 GMT</pubDate>
    <dc:creator>PhilMorefield</dc:creator>
    <dc:date>2013-01-16T11:40:34Z</dc:date>
    <item>
      <title>Scripting IDW: optimize power parameter?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398259#M808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When performing IDW through the GA toolbar, you can simply click the "Optimize Power value" button. Any chance this is done for you when you leave this parameter blank in a script? If not, is there a way to get the optimized value?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 17:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398259#M808</guid>
      <dc:creator>PhilMorefield</dc:creator>
      <dc:date>2013-01-15T17:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting IDW: optimize power parameter?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398260#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phil&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) run the IDW Geostat geoprocessing tool and specify an output geostatistical layer name (eg. galyr) and don't specify an output raster name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) run the SetModelParameter geoprocessing tool with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Input geostatistical model source = galyr (the ga layer you created above)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Parameter XML Path = /model/value[@name='Power']/@auto&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Parameter value = true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Output model = c:\temp\optimized.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) run the Create Geostatistical Layer geoprocessing tool with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Input geostatistical model source = c:\temp\optimized.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Input dataset = the feature class and field you used in #1 above&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Output geostatistical layer = optimizedIDW&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This new GA layer (optimizedIDW) with have an optimized power value for the dataset and field supplied in #3 and to convert it to raster use GALayerToGrid geoprocessing tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 22:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398260#M809</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2013-01-15T22:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting IDW: optimize power parameter?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398261#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect. Thanks Steve.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 11:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398261#M810</guid>
      <dc:creator>PhilMorefield</dc:creator>
      <dc:date>2013-01-16T11:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting IDW: optimize power parameter?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398262#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this is years later, but I recently tried to do this in model bulider, and am not able to use the dataset as you described in step 3. If I try to connect the feature class, it only allows me to use that as input for environment variables. Has something perhaps changed since you wrote this or is this just not possible in model builder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 20:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398262#M811</guid>
      <dc:creator>AndrewMartinez6</dc:creator>
      <dc:date>2016-11-15T20:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting IDW: optimize power parameter?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398263#M812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Modelbuilder;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;right click on the Create Geostatistical Layer tool&lt;/LI&gt;&lt;LI&gt;Choose Make Variable -&amp;gt; From Parameter&lt;/LI&gt;&lt;LI&gt;select Input Geostatistical model source (this is for c:\temp\optimized.xml)&lt;/LI&gt;&lt;LI&gt;Choose Make Variable -&amp;gt; From Parameter&lt;/LI&gt;&lt;LI&gt;select Input dataset(s) &amp;nbsp;(this is for the dataset and the field)&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 21:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398263#M812</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2016-11-15T21:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting IDW: optimize power parameter?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398264#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, thank you for responding, but my input data set would be an intermediate (and managed) feature class developed by earlier steps in the model process. So would you say my only option would then be to save that intermediate data set to a permanent file geodatabase just so it can be referenced by the Create Geostatistical Layer tool?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 00:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398264#M813</guid>
      <dc:creator>AndrewMartinez6</dc:creator>
      <dc:date>2016-11-16T00:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting IDW: optimize power parameter?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398265#M814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;Because of the dynamic nature of a geostatistical layer the input datasets control is made up of a dataset (or many in the case of cokriging for example) and a field(s). So, you could persist your features using CopyFeatures or you could look into creating a script tool (submodel) that uses the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/geostatisticaldatasets-class-.htm"&gt;GeostatisticalDatasets &lt;/A&gt;class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also not use Modelbuilder and create a Python script tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 00:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/scripting-idw-optimize-power-parameter/m-p/398265#M814</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2016-11-16T00:25:03Z</dc:date>
    </item>
  </channel>
</rss>

