<?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: Cannot get the Calculate Statistics &amp;quot;ignore_values&amp;quot; option to work in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615149#M34698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having a similar problem.&amp;nbsp; Another program (Petrosys) exports .bil raster we would like to view and manipulate in ArcMap.&amp;nbsp; When we generate statistics and/or a histogram, we get the same problem as you, i.e. the NoData values are included in the statistics despite the .hdr file explicitly specifying "1e+019 = NoData".&amp;nbsp; (Perhaps ArcGIS cannot pick up on the "1e+019" and is instead looking for "10000000000000000000" in the .hdr??)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two possible workarounds:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Before generating statistics and/or a histogram, check off the "Apply Gamma Stretch" option using the "From Current Display Extent" under the Statistics dropdown.&amp;nbsp; This obviously wouldn't work for a batch operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Dump your raster in to a different format (in my case, in to a GDB; in Martin's case, in to .tiff).&amp;nbsp; This seems to regenerate stastics correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Users: if you can, check out the .stx and/or the .hdr files (open with text editor) to see how the NoData value is defined (I suppose this wouldn't work in a GDB).&amp;nbsp; I'm wondering if Arc needs a number explicitly defined in the header, as opposed to scientific notation, as I suggested in parentheses above ... best guess so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd guess this is a bug of some sort?&amp;nbsp; ESRI, any ideas why the statistics-generation tool seems to be touchy to NoData values?&amp;nbsp; How does it go about generating statistics?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2011 17:45:58 GMT</pubDate>
    <dc:creator>Waan</dc:creator>
    <dc:date>2011-06-16T17:45:58Z</dc:date>
    <item>
      <title>Cannot get the Calculate Statistics &amp;quot;ignore_values&amp;quot; option to work</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615146#M34695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to run Calculate Statistics with an ignore value of -9999 on a single-band 16-bit signed integer file geodatabase raster with valid values ranging from 0-581 and a "nodata" value of -9999.&amp;nbsp; After I do this, the resulting statistics values still shows&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Min -9999&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Max 581&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mean -1783.185719373219&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Std dev. 4290.54031147985&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This causes the default contrast stretch in ArcMap to draw the valid pixels as solid white.&amp;nbsp; I can manually adjust the stretch type to Minimum-Maximum and edit the low value so that it draws correctly.&amp;nbsp; The problem is that I have hundreds of multiband images all with different value ranges.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought the problem was because my original image was a 32-bit floating point raster, so I did a Copy Raster to a 16-bit signed integer output type but I'm still having the same problem.&amp;nbsp; I've also tried doing a Clean Statistics an rerunning the Build Stats.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug or am I doing something wrong?&amp;nbsp; I've done searches for similar problems and only came up with this closed thread from Jan 2009:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=985&amp;amp;t=253386"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=985&amp;amp;t=253386&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 19:22:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615146#M34695</guid>
      <dc:creator>MartinWong</dc:creator>
      <dc:date>2011-04-08T19:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get the Calculate Statistics "ignore_values" option to work</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615147#M34696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, it appears that this &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;does &lt;/SPAN&gt;&lt;SPAN&gt;work on a .tif copy of my image, so apparently it's only my file geodatabase grids that the "ignore_values" won't work on.&amp;nbsp; I can reprocess my images to TIFFs, but it would still be helpful to know if I'm doing something wrong or if I should submit a bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 21:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615147#M34696</guid>
      <dc:creator>MartinWong</dc:creator>
      <dc:date>2011-04-08T21:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get the Calculate Statistics "ignore_values" option to work</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615148#M34697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having the same problem with 32 bit floating point geotiffs. The NoData value as listed in the raster properties as -3.40282346639e+038; however, I want to calculate statistics while ignoring values of -999. It doesn't work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 17:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615148#M34697</guid>
      <dc:creator>ChrisBater</dc:creator>
      <dc:date>2011-05-03T17:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get the Calculate Statistics "ignore_values" option to work</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615149#M34698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having a similar problem.&amp;nbsp; Another program (Petrosys) exports .bil raster we would like to view and manipulate in ArcMap.&amp;nbsp; When we generate statistics and/or a histogram, we get the same problem as you, i.e. the NoData values are included in the statistics despite the .hdr file explicitly specifying "1e+019 = NoData".&amp;nbsp; (Perhaps ArcGIS cannot pick up on the "1e+019" and is instead looking for "10000000000000000000" in the .hdr??)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two possible workarounds:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Before generating statistics and/or a histogram, check off the "Apply Gamma Stretch" option using the "From Current Display Extent" under the Statistics dropdown.&amp;nbsp; This obviously wouldn't work for a batch operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Dump your raster in to a different format (in my case, in to a GDB; in Martin's case, in to .tiff).&amp;nbsp; This seems to regenerate stastics correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Users: if you can, check out the .stx and/or the .hdr files (open with text editor) to see how the NoData value is defined (I suppose this wouldn't work in a GDB).&amp;nbsp; I'm wondering if Arc needs a number explicitly defined in the header, as opposed to scientific notation, as I suggested in parentheses above ... best guess so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd guess this is a bug of some sort?&amp;nbsp; ESRI, any ideas why the statistics-generation tool seems to be touchy to NoData values?&amp;nbsp; How does it go about generating statistics?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 17:45:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-get-the-calculate-statistics-amp-quot/m-p/615149#M34698</guid>
      <dc:creator>Waan</dc:creator>
      <dc:date>2011-06-16T17:45:58Z</dc:date>
    </item>
  </channel>
</rss>

