<?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: Python kriging code errors in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1232137#M62292</link>
    <description>&lt;P&gt;It worked. Thank You very much!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 10:39:53 GMT</pubDate>
    <dc:creator>Gabrieleti</dc:creator>
    <dc:date>2022-11-16T10:39:53Z</dc:date>
    <item>
      <title>Python kriging code errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1231360#M62211</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created a model in ArcGIS pro and then I tried to convert it into a python script, but the code of Kriging function (even autogenerated) gives me this error:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Kriging() got an unexpected keyword argument 'semiVariogram_props'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The autogenerated code:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Kriging = Kriging_Extr2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Output_variance_of_prediction_raster = ""&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;with arcpy.EnvManager(extent=Rectangle):&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Kriging_Extr2 = arcpy.sa.Kriging(in_point_features=point_values, z_field="RASTERVALU", semiVariogram_props="Spherical 7.200000 # # #", cell_size="0.25", search_radius="VARIABLE 12", out_variance_prediction_raster=Output_variance_of_prediction_raster)&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Kriging_Extr2.save(Kriging)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I have looked into kriging python syntax online, but it also does not work. But maybe I am making some errors myself.&lt;/P&gt;&lt;P&gt;How could I solve this problem?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 18:31:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1231360#M62211</guid>
      <dc:creator>Gabrieleti</dc:creator>
      <dc:date>2022-11-14T18:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python kriging code errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1231425#M62215</link>
      <description>&lt;P&gt;Are you using the spatial analyst kriging? because it is a parameter?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/kriging.htm" target="_blank"&gt;Kriging (Spatial Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 20:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1231425#M62215</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-11-14T20:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Python kriging code errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1231592#M62230</link>
      <description>&lt;P&gt;Yes I am. And when I run model in ArcGIS Pro everything works, it’s just that I am having problems with the python code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 08:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1231592#M62230</guid>
      <dc:creator>Gabrieleti</dc:creator>
      <dc:date>2022-11-15T08:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python kriging code errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1231716#M62250</link>
      <description>&lt;P&gt;There appears to be a problem with the variable name&amp;nbsp;&lt;SPAN&gt;semiVariogram_props.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Remove them, viz.,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kriging_Extr2 = arcpy.sa.Kriging(point_values, "RASTERVALU", "Spherical 7.200000 # # #", "0.25", "VARIABLE 12", Output_variance_of_prediction_raster)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 14:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1231716#M62250</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2022-11-15T14:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python kriging code errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1232137#M62292</link>
      <description>&lt;P&gt;It worked. Thank You very much!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 10:39:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-kriging-code-errors/m-p/1232137#M62292</guid>
      <dc:creator>Gabrieleti</dc:creator>
      <dc:date>2022-11-16T10:39:53Z</dc:date>
    </item>
  </channel>
</rss>

