<?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: Arc Hydro ArcGIS Pro - Longest Flow Path Snap Raster Error in Water Resources Questions</title>
    <link>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136488#M4154</link>
    <description>&lt;P&gt;Yes, it should be arcpy.env.&lt;STRONG&gt;snapRaster&lt;/STRONG&gt; and not .SnapRaster.&amp;nbsp; &amp;nbsp;We'll fix the issue and produce a new build.&lt;/P&gt;&lt;P&gt;Thanks for catching this error, and &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt; for your quick reply.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 17:55:43 GMT</pubDate>
    <dc:creator>ZichuanYe</dc:creator>
    <dc:date>2022-01-24T17:55:43Z</dc:date>
    <item>
      <title>Arc Hydro ArcGIS Pro - Longest Flow Path Snap Raster Error</title>
      <link>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136230#M4150</link>
      <description>&lt;P&gt;I receive the following error when running several of the longest flow path tools (for catchments, for sub-watersheds, etc.) in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;('line 218', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\longestflowpathforcatchments.py', "AttributeError: 'GPEnvironment' object has no attribute 'SnapRaster'")&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Currently I am having to take my FCs and run longest flow path in ArcMap and then move back to Pro.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 21:07:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136230#M4150</guid>
      <dc:creator>Jimmy_Simpson</dc:creator>
      <dc:date>2022-01-23T21:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Hydro ArcGIS Pro - Longest Flow Path Snap Raster Error</title>
      <link>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136233#M4151</link>
      <description>&lt;P&gt;open up the script and see how they set the snap raster&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;arcpy.env.snapRaster&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;is correct, it may be a capital S vs a small s issue in the script.&amp;nbsp; If it is, report it to the archydro people, I don't have it installed to check the script myself&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/environment-settings/snap-raster.htm" target="_blank"&gt;Snap Raster (Environment setting)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/env.htm" target="_blank"&gt;env—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 21:30:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136233#M4151</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-01-23T21:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Hydro ArcGIS Pro - Longest Flow Path Snap Raster Error</title>
      <link>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136235#M4152</link>
      <description>&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;You hit the nail on the head I believe. I see 10 lines before that "snapRaster" and in line 218 "SnapRaster" - going to try making a copy of their script with that one change and see if it works.&lt;/P&gt;&lt;P&gt;I would report it to the ArcHydro team, but have sent them a couple emails reporting issues and have never got a response back. Since I see them replying to questions in this group, I am hoping this post does some good.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 22:00:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136235#M4152</guid>
      <dc:creator>Jimmy_Simpson</dc:creator>
      <dc:date>2022-01-23T22:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Hydro ArcGIS Pro - Longest Flow Path Snap Raster Error</title>
      <link>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136239#M4153</link>
      <description>&lt;P&gt;Yes - Line 218 of the Longest Flow Path for Catchments is written as "SnapRaster" instead of "snapRaster" - Making this change allowed the script to run without error.&lt;/P&gt;&lt;P&gt;Arc Hydro team - please make this change on all Longest Flow Path scripts as I believe most if not all of them contain this error.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;- Thank you for solving this so quickly - its greatly appreciated!!! I also use your Numpy tools quite frequently so thank you for all you do!!!&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 23:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136239#M4153</guid>
      <dc:creator>Jimmy_Simpson</dc:creator>
      <dc:date>2022-01-23T23:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Hydro ArcGIS Pro - Longest Flow Path Snap Raster Error</title>
      <link>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136488#M4154</link>
      <description>&lt;P&gt;Yes, it should be arcpy.env.&lt;STRONG&gt;snapRaster&lt;/STRONG&gt; and not .SnapRaster.&amp;nbsp; &amp;nbsp;We'll fix the issue and produce a new build.&lt;/P&gt;&lt;P&gt;Thanks for catching this error, and &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt; for your quick reply.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 17:55:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1136488#M4154</guid>
      <dc:creator>ZichuanYe</dc:creator>
      <dc:date>2022-01-24T17:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Hydro ArcGIS Pro - Longest Flow Path Snap Raster Error</title>
      <link>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1137077#M4156</link>
      <description>&lt;P&gt;A new build with arcpy.env.snapRaster correctly set is posted at this location:&lt;/P&gt;&lt;P&gt;&lt;A href="https://downloads.esri.com/archydro/archydro/Setup/Pro/2.9.13/" target="_blank"&gt;https://downloads.esri.com/archydro/archydro/Setup/Pro/2.9.13/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please let us know if you have further questions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 20:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/arc-hydro-arcgis-pro-longest-flow-path-snap-raster/m-p/1137077#M4156</guid>
      <dc:creator>ZichuanYe</dc:creator>
      <dc:date>2022-01-25T20:15:28Z</dc:date>
    </item>
  </channel>
</rss>

