<?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: Floating point division by zero. / AfCore.dll Modul error / arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374694#M29612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thx Duncan,&lt;/P&gt;&lt;P&gt;1. it doesnt create anything, it occurs in the loop.&lt;/P&gt;&lt;P&gt;2. i did the same thing in arcgis &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;manually and it worked. i have 1 zonal dataset and 2 raster maps (grids).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;3. there are no cells with nodata. because nodata has the value -9999 in my raster maps. i checked it &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is is strange because sometimes my programm completly works after restarting the computer.is it possible that the error occurs from the RAM Memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: One Question: is it possible to put a Python script directly into the forum without appendix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 09:49:27 GMT</pubDate>
    <dc:creator>MarcGoetzke</dc:creator>
    <dc:date>2014-09-23T09:49:27Z</dc:date>
    <item>
      <title>Floating point division by zero. / AfCore.dll Modul error / arcpy</title>
      <link>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374692#M29610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have problem running my programm. i have wrote a Python programm to calculate Zonal Statistics for raster maps. Im receiving the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Floating point division by zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and afterwards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access violation at address 00007FFC90C687C1 in module 'AfCore.dll'. Read of address 0000000024FEB9E9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried several things and i have checked my paths and the whole code. I dont know where the error occurs from.&lt;/P&gt;&lt;P&gt;My Python code is in the appendix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374692#M29610</guid>
      <dc:creator>MarcGoetzke</dc:creator>
      <dc:date>2014-09-22T11:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point division by zero. / AfCore.dll Modul error / arcpy</title>
      <link>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374693#M29611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having looked at your code I have a few questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Does the error occur on the initial loop, or does it actually create some tables then bomb out?&lt;/LI&gt;&lt;LI&gt;Your zonal layer never changes, could you have a scenario that your zonal dataset does not intersect ANY cells in a raster?&lt;/LI&gt;&lt;LI&gt;Can you have a scenario where one of your input rasters is all nodata?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duncan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 21:33:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374693#M29611</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-09-22T21:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point division by zero. / AfCore.dll Modul error / arcpy</title>
      <link>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374694#M29612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thx Duncan,&lt;/P&gt;&lt;P&gt;1. it doesnt create anything, it occurs in the loop.&lt;/P&gt;&lt;P&gt;2. i did the same thing in arcgis &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;manually and it worked. i have 1 zonal dataset and 2 raster maps (grids).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;3. there are no cells with nodata. because nodata has the value -9999 in my raster maps. i checked it &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is is strange because sometimes my programm completly works after restarting the computer.is it possible that the error occurs from the RAM Memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: One Question: is it possible to put a Python script directly into the forum without appendix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 09:49:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374694#M29612</guid>
      <dc:creator>MarcGoetzke</dc:creator>
      <dc:date>2014-09-23T09:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point division by zero. / AfCore.dll Modul error / arcpy</title>
      <link>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374695#M29613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does somebody have an idea?&lt;STRONG&gt; &lt;/STRONG&gt;I can't think any further myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 11:49:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374695#M29613</guid>
      <dc:creator>MarcGoetzke</dc:creator>
      <dc:date>2014-09-23T11:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point division by zero. / AfCore.dll Modul error / arcpy</title>
      <link>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374696#M29614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can put scripts into the text of a question by simply copying it into it! Then use the "Use advanced editor" option and use the &amp;gt;&amp;gt; button to set the correct language of the code snippet. Personally if it is a big script I would attach it as a zip as you have done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your code sometimes runs OK then this suggest there is something else causing a problem, so its very difficult to answer this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374696#M29614</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-09-24T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point division by zero. / AfCore.dll Modul error / arcpy</title>
      <link>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374697#M29615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right now it no longer runs. I checked everything and tried everything out. i had this error several times with different processes in the past. I have no clue. i wrote esri an email but they said because im student i have to ask a local &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;competent.&lt;/SPAN&gt;&lt;/SPAN&gt; Is it possible to calculate Zonal Statistics over .shp Files or another data type. I think only raster are possible.i think i have to take some detours to get my results. im getting desperate:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374697#M29615</guid>
      <dc:creator>MarcGoetzke</dc:creator>
      <dc:date>2014-09-24T13:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point division by zero. / AfCore.dll Modul error / arcpy</title>
      <link>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374698#M29616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay i think i have the answer. The error occurs because i have no administration rights (Access violation). the afcore.dll file is in the windows folder and python is not able to get access to this file. I think i have to ask the administrator to run the programm with the required rights.&lt;/P&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx Ducan for the suggestions&lt;/P&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 11:12:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/floating-point-division-by-zero-afcore-dll-modul/m-p/374698#M29616</guid>
      <dc:creator>MarcGoetzke</dc:creator>
      <dc:date>2014-09-25T11:12:35Z</dc:date>
    </item>
  </channel>
</rss>

