<?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: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask in Spatial Statistics Questions</title>
    <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3321#M23</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To tag onto what &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;&amp;nbsp;suggested, also change the filenames or folders so that there are no dashes in any of them.&amp;nbsp; Sometimes the system blows up because of the dashes, but then provides an error unrelated to this issue.&amp;nbsp; I don't know why it happens this way, but that is just the way it turns out sometimes, and getting rid of the dashes fixes the other issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, try shortening the grid and tiff filenames.&amp;nbsp; It may be that it is choking on a "too long" filename.&amp;nbsp; For whatever reason, the process sometimes seems to apply the most restrictive condition to files that normally don't have those restrictions (in this case that would be the GRID filename limitations).&amp;nbsp; It's worth a try....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Esri Grid format&lt;/H2&gt;&lt;P&gt;The name of an Esri Grid format raster has more specific restrictions:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;The maximum number of characters is 13.&lt;/LI&gt;&lt;LI&gt;It cannot have spaces.&lt;/LI&gt;&lt;LI&gt;It cannot use special characters other than underscore ( "_" ).&lt;/LI&gt;&lt;LI&gt;For tools that output a &lt;A class="" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/esri-grid-format.htm#GUID-1022C4ED-D56F-4FCF-8F21-56C631957E2E"&gt;Grid Stack&lt;/A&gt;, the stack name cannot have more than 9 characters.&lt;/LI&gt;&lt;LI&gt;The total length of the name for a Grid and its path cannot be more than 128 characters.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Source:&amp;nbsp; &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/extensions/spatial-analyst/performing-analysis/output-raster-formats-and-names.htm" title="http://desktop.arcgis.com/en/arcmap/latest/extensions/spatial-analyst/performing-analysis/output-raster-formats-and-names.htm"&gt;Output raster formats and names—ArcGIS Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Nov 2017 21:30:37 GMT</pubDate>
    <dc:creator>ChrisDonohue__GISP</dc:creator>
    <dc:date>2017-11-14T21:30:37Z</dc:date>
    <item>
      <title>Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3316#M18</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ArcCatalog 10.5, running the Filter tool from the Spatial Analyst toolbox. I enter an input and output grid and specify low filter type. I leave the ignore nodata box checked. The inputs to this aren't complicated, but I'm getting an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the Messages&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px; color: #666699;"&gt;Executing: Filter C:\temp\2017-11\multi-model-vis\PNW_4km_2017090900\averages\average00.tif C:\temp\2017-11\multi-model-vis\PNW_4km_2017090900\averages\average00_filterlow.tif LOW DATA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px; color: #666699;"&gt;Start Time: Tue Nov 14 09:18:19 2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px; color: #ff0000;"&gt;ERROR 010333: Invalid Weight neighborhood mask::&amp;nbsp; C:\PROGRA~2\ARCGIS\DESKTO~1.5\BIN\NBR02&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px; color: #666699;"&gt;ERROR 010067: Error in executing grid expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px; color: #666699;"&gt;Failed to execute (Filter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px; color: #666699;"&gt;Failed at Tue Nov 14 09:18:19 2017 (Elapsed Time: 0.26 seconds)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This laptop is actually pretty new, and I have never fiddled around with the file mentioned in the red line. There is no file or folder of that name when I go there in Windows Explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two ideas, and any feedback is appreciated.&lt;/P&gt;&lt;P&gt;1) Use the Focal Statistics with the MEAN statistic type. This seems like the same thing as the rectangle with 3x3, or I can create my own 3x3 kernel file with all weights equal (1, for example).&lt;/P&gt;&lt;P&gt;2) Try to create a kernel file at this location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone ever experienced this? If you have a file at C:\PROGRA~2\ARCGIS\DESKTO~1.5\BIN\NBR02 (this path is just DOS shorthand for "C:\Program Files (x86)\ArcGIS\Desktop10.5\bin"), can you please attach it to this thread or insert its text in a reply?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks! David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 18:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3316#M18</guid>
      <dc:creator>DavidAskov1</dc:creator>
      <dc:date>2017-11-14T18:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3317#M19</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just ran a low filter with 10.5 and I had no problems:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/383566_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do notice that you are using a folder that contains&amp;nbsp;names that start with a number like "&lt;SPAN style="color: #666699; background-color: #ffffff;"&gt;2017-11&lt;/SPAN&gt;". Try and copy the data to the folder&amp;nbsp;"&lt;SPAN style="color: #666699; background-color: #ffffff;"&gt;C:\temp&lt;/SPAN&gt;" and try again to see if it might be the folder name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 18:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3317#M19</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-11-14T18:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3318#M20</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ - I copied the input to C:\temp and got the same result. Can you please take a look in C:\Program Files (x86)\ArcGIS\Desktop10.5\bin to see if you have a file or folder named &lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px; color: #ff0000;"&gt;NBR02&lt;/SPAN&gt;? If so, can you post its content and/or attach it? thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 19:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3318#M20</guid>
      <dc:creator>DavidAskov1</dc:creator>
      <dc:date>2017-11-14T19:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3319#M21</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already looked (before I posted me answer) and I don't have a file with that name of anything NB* for that matter. I wonder if this has something to do with the data, but the error is very strange.&amp;nbsp;If the data is not too big and you can share it here I can run it on my system, otherwise I would recommend contacting support and registering a case for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 19:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3319#M21</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-11-14T19:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3320#M22</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have none by that name in my ...\bin path&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 19:17:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3320#M22</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-14T19:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3321#M23</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To tag onto what &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;&amp;nbsp;suggested, also change the filenames or folders so that there are no dashes in any of them.&amp;nbsp; Sometimes the system blows up because of the dashes, but then provides an error unrelated to this issue.&amp;nbsp; I don't know why it happens this way, but that is just the way it turns out sometimes, and getting rid of the dashes fixes the other issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, try shortening the grid and tiff filenames.&amp;nbsp; It may be that it is choking on a "too long" filename.&amp;nbsp; For whatever reason, the process sometimes seems to apply the most restrictive condition to files that normally don't have those restrictions (in this case that would be the GRID filename limitations).&amp;nbsp; It's worth a try....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Esri Grid format&lt;/H2&gt;&lt;P&gt;The name of an Esri Grid format raster has more specific restrictions:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;The maximum number of characters is 13.&lt;/LI&gt;&lt;LI&gt;It cannot have spaces.&lt;/LI&gt;&lt;LI&gt;It cannot use special characters other than underscore ( "_" ).&lt;/LI&gt;&lt;LI&gt;For tools that output a &lt;A class="" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/esri-grid-format.htm#GUID-1022C4ED-D56F-4FCF-8F21-56C631957E2E"&gt;Grid Stack&lt;/A&gt;, the stack name cannot have more than 9 characters.&lt;/LI&gt;&lt;LI&gt;The total length of the name for a Grid and its path cannot be more than 128 characters.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Source:&amp;nbsp; &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/extensions/spatial-analyst/performing-analysis/output-raster-formats-and-names.htm" title="http://desktop.arcgis.com/en/arcmap/latest/extensions/spatial-analyst/performing-analysis/output-raster-formats-and-names.htm"&gt;Output raster formats and names—ArcGIS Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 21:30:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3321#M23</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2017-11-14T21:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3322#M24</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all - I think I found two work-around ideas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, I appreciate the input on filenames. I re-ran it with the simplest names I could give it and got the same error. Here is the "copy as Python Snippet" for what I tried: &lt;/P&gt;&lt;P&gt;arcpy.gp.Filter_sa("C:/temp/avg.tif", "C:/temp/avg2.tif", "LOW", "DATA")&lt;/P&gt;&lt;P&gt;It feels like we can eliminate wacky file names from the list of suspects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is saying the neighborhood mask is invalid, which I'm guessing is basically a kernel file, and if it's missing, that would be invalid... Why it's missing is anyone's guess, but the name looks like a temporary file name, so I started asking myself "what would cause a temporary file to fail?" Well, I'm not running ArcCatalog as an administrator user, and that would absolutely prevent me from writing into the program files x(86) folder. In fact, I had that problem the other day with something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORK-AROUND 1: Run as Administrator - This worked!!! Except, it's a real hassle, because it actually runs as another user, so I don't have access to any of my settings (database connections, folder connections, symbols, etc, etc.). I guess I could switch over to the administrator user full-time, but... yuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORK-AROUND 2: &lt;STRONG&gt;Can someone please confirm the following?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is the FILTER tool with the LOW type the same as FOCAL STATISTICS with the RECTANGLE neighborhood at 3x3 and a MEAN statistics type? That is working fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last note: I appreciate the suggestion to file a tech support request, but our academic site license policy is basically that we are only allowed to do so when it is a total show-stopper, so I'm wondering if FOCAL STATISTICS is the same thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 23:38:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3322#M24</guid>
      <dc:creator>DavidAskov1</dc:creator>
      <dc:date>2017-11-14T23:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3323#M25</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WORK-AROUND 3: Use python. That works fine. In the great irony, I was actually writing a python script, and I only used the tool in ArcCatalog to try it once or twice before putting it in code. Gah! That should teach me for using the mouse instead of the command line...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 23:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3323#M25</guid>
      <dc:creator>DavidAskov1</dc:creator>
      <dc:date>2017-11-14T23:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3324#M26</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/filter.htm"&gt;&lt;STRONG&gt;Filter&amp;nbsp;&lt;/STRONG&gt;&lt;/A&gt; ... is a 3x3 moving window&lt;/P&gt;&lt;P&gt;As for the academic license thing... I am being like a salmon right now.. apparently they prefer someone that doesn't use the software to be the contact person... They need to expand their contact tree to at least include senior software-using instructors&lt;/P&gt;&lt;P&gt;As for ArcCatalog... I never run tools from ArcCatalog... (long story... I know, I know... it shouldn't matter) but when I have had an 'issue' with a tool in Catalog... it seems to miraculously go away when I run the same tool from within Arctoolbox in ArcMap.&amp;nbsp; Pro makes this more normal&amp;nbsp; since 'catalog' in Pro isn't really 'catalog' they just renamed the 'Project' pane to catalog &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 00:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3324#M26</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-15T00:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3325#M27</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A&amp;nbsp;comment to your question at workaround 2:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;Is the FILTER tool with the LOW type the same as FOCAL STATISTICS with the RECTANGLE neighborhood at 3x3 and a MEAN statistics type? That is working fine for me.&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at this help:&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/how-filter-works.htm#GUID-DF99C4E5-3A41-4107-9187-8FED8B76004E" title="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/how-filter-works.htm#GUID-DF99C4E5-3A41-4107-9187-8FED8B76004E"&gt;How Filter works—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;, you will see:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;A low pass filter smooths the data by reducing local variation and removing noise. It calculates the average (mean) value for each 3 x 3 neighborhood. &lt;STRONG&gt;It is essentially equivalent to the Focal Statistics tool with the Mean statistic option.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 00:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3325#M27</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-11-15T00:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3326#M28</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/xander_bakker"&gt;xander_bakker&lt;/A&gt;‌&amp;nbsp; for your amusement and notes&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2017/11/15/rolling-statistics-for-grid-data-an-alternative"&gt;&lt;STRONG&gt;Rolling Statistics for grid data... an alternative&lt;/STRONG&gt;&lt;/A&gt; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I also have all the common filters (and some not so common) available for use within rolling/moving window functions for raster/grid/array data.&amp;nbsp; I will post those sometime soon, if I don't forget&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 01:32:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3326#M28</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-15T01:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3327#M29</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/294964"&gt;David Askov&lt;/A&gt;&amp;nbsp;, I noticed that you marked&amp;nbsp;a post with a lot of questions as the right answer. If you consider that you answered you own question then it would help other users that&amp;nbsp;that post gets marked as the correct answer. Maybe it is the one&amp;nbsp;where you mention workaround 3. Or simply summarize what is the solution that solved the problem and mark that post as the correct answer. That way it will be easier for others&amp;nbsp;to find the correct answer in case they have the same&amp;nbsp;problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 00:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3327#M29</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-11-18T00:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3328#M30</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, good point. I tried to edit it so I got #3 in with #1 and #2, but I couldn't figure out how. Will post a new entry and mark that as the solution. Thanks for all your input. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 00:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3328#M30</guid>
      <dc:creator>DavidAskov1</dc:creator>
      <dc:date>2017-11-18T00:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Spatial Analyst Filter tool - Invalid Weight neighborhood mask</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3329#M31</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" data-current="" data-extendedauthors="false" data-extvisible="false" data-objectid="729176" data-objecttype="2" data-thread-id="205167"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;My best guess as to the problem is that the FILTER tool is trying to write a temporary kernel file into a directory that is forbidden to users who are not administrators. As my non-administrator user, I am unable to create files in that directory (&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;C:\PROGRA~2\ARCGIS\DESKTO~1.5\BIN\&lt;/SPAN&gt;), so that would explain the failure. I have 3 work-around solutions for this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Run ArcCatalog as an administrator. Just find it in your start menu and right-click on it and choose "Run as Administrator". You have to have another user/pass login to do this. My work's policy is that users are not administrators, but we have access to an admin account for limited usage. This works for me, but may not for you. Also, it runs as a separate user, so I don't have access to any of my settings (database connections, folder connections, symbols, etc, etc.) from my user. I guess I could switch over to the administrator user full-time, but... yuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The filter tool with the LOW type is basically the same as FOCAL STATISTICS with the RECTANGLE neighborhood at 3x3 and a MEAN statistics type. That is working fine for me as a non-administrator.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;NOTE: My guess is FILTER is running FOCAL STATISTICS with an irregular neighborhood and trying to write out a temp 3x3 kernel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Use python. This worked fine in both the ArcCatalog command line and a stand-alone script (both running as my non-admin user). It is only the tool in ArcCatalog that gave me an error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 01:15:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/error-with-spatial-analyst-filter-tool-invalid/m-p/3329#M31</guid>
      <dc:creator>DavidAskov1</dc:creator>
      <dc:date>2017-11-18T01:15:48Z</dc:date>
    </item>
  </channel>
</rss>

