<?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: &amp;quot;ExecuteError: Failed because no statistics are available&amp;quot;...  Is there any posibility to ask python first, if there is a statistic avai in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/1048329#M60826</link>
    <description>&lt;P&gt;Many years later, but did you ever figure out how to make ALLNODATA work?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 20:12:10 GMT</pubDate>
    <dc:creator>MiraAnand</dc:creator>
    <dc:date>2021-04-16T20:12:10Z</dc:date>
    <item>
      <title>"ExecuteError: Failed because no statistics are available"...  Is there any posibility to ask python first, if there is a statistic available, or if there are values unequal to NoData?</title>
      <link>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/334571#M26106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I work with ArgGIS Pro and Python)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help with a Problem. I have Crop-Raster-Data (relatet to different clima szenaries) and a Köppen-Geiger-Raster. I want to use the Köppen-Geiger-Raster as a mask to get the the crop-informations per climate class. But now there is my problem. I dont know where my crop exactely is and how it moves. I tryed to mask with every climate class and get its statistics. But when I have no crop in a climate class, my whole raster layer is a NoData Layer and my script dosn't work "ExecuteError: Failed because no statistics are available". So I wanted to know, if there is any posibility to ask python first, if there is a statistic available, or if there are values unequal to NoData.&lt;BR /&gt;Thank YOU!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 23:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/334571#M26106</guid>
      <dc:creator>RebeccaRicker</dc:creator>
      <dc:date>2017-12-09T23:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: "ExecuteError: Failed because no statistics are available"...  Is there any posibility to ask python first, if there is a statistic available, or if there are values unequal to NoData?</title>
      <link>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/334572#M26107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Best would be to get the raster properties and query whether for AllNoData&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/get-raster-properties.htm"&gt;&lt;STRONG&gt;Get Raster Properties&lt;/STRONG&gt;&lt;/A&gt;....&lt;/P&gt;&lt;DIV style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; lucida grande&amp;amp;quot;,&amp;amp;quot;segoe ui&amp;amp;quot;,&amp;amp;quot;arial&amp;amp;quot;,sans-serif; font-size: 13.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;property_type&lt;/DIV&gt;&lt;DIV style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; lucida grande&amp;amp;quot;,&amp;amp;quot;segoe ui&amp;amp;quot;,&amp;amp;quot;arial&amp;amp;quot;,sans-serif; font-size: 13.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;(Optional)&lt;/DIV&gt;&lt;DIV style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; lucida grande&amp;amp;quot;,&amp;amp;quot;segoe ui&amp;amp;quot;,&amp;amp;quot;arial&amp;amp;quot;,sans-serif; font-size: 13.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;UL style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; lucida grande&amp;amp;quot;,&amp;amp;quot;segoe ui&amp;amp;quot;,&amp;amp;quot;arial&amp;amp;quot;,sans-serif; font-size: 12.13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.74px; list-style-position: inside; list-style-type: none; margin-bottom: 18.2px; margin-top: 20.74px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px;"&gt;&lt;LI style="background-color: transparent; font-size: 13.93px; height: 20.74px; margin-left: 0px; padding-left: 13.93px; position: relative; top: auto; width: 477.04px;"&gt;ANYNODATA —Returns whether there is NoData in the raster.&lt;/LI&gt;&lt;LI style="background-color: transparent; font-size: 13.93px; height: 41.48px; margin-left: 0px; padding-left: 13.93px; position: relative; top: auto; width: 477.04px;"&gt;ALLNODATA —Returns whether all the pixels are NoData. This is the same as ISNULL.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ie &amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4d4d4d; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco','Courier New',Courier,monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; visibility: visible; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px; word-wrap: break-word;"&gt;etRasterProperties_management (in_raster, {property_type}, {band_index})&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 23:48:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/334572#M26107</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-09T23:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: "ExecuteError: Failed because no statistics are available"...  Is there any posibility to ask python first, if there is a statistic available, or if there are values unequal to NoData?</title>
      <link>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/334573#M26108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you again. I tried it once, but it seemed not to work. Maybe i was because of this strange issue my pc had....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 23:52:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/334573#M26108</guid>
      <dc:creator>RebeccaRicker</dc:creator>
      <dc:date>2017-12-09T23:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: "ExecuteError: Failed because no statistics are available"...  Is there any posibility to ask python first, if there is a statistic available, or if there are values unequal to NoData?</title>
      <link>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/334574#M26109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seemed not to work???&lt;/P&gt;&lt;P&gt;did you get an error message?&lt;/P&gt;&lt;P&gt;If the whole raster is nodata, then you can skip what you were going to do if that was your intent since the statistics wouldn't be needed anyway.&lt;/P&gt;&lt;P&gt;maybe I have misread your question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Dec 2017 01:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/334574#M26109</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-10T01:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: "ExecuteError: Failed because no statistics are available"...  Is there any posibility to ask python first, if there is a statistic avai</title>
      <link>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/1048329#M60826</link>
      <description>&lt;P&gt;Many years later, but did you ever figure out how to make ALLNODATA work?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 20:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/quot-executeerror-failed-because-no-statistics-are/m-p/1048329#M60826</guid>
      <dc:creator>MiraAnand</dc:creator>
      <dc:date>2021-04-16T20:12:10Z</dc:date>
    </item>
  </channel>
</rss>

