<?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: Calling Arc Hydro Tools in Python in ArcGIS Pro? in Water Resources Questions</title>
    <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514781#M2647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately no readme file currently&amp;nbsp;comes with the MSI file that I can see. Would be most helpful &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 18:36:05 GMT</pubDate>
    <dc:creator>JohnGaiot</dc:creator>
    <dc:date>2018-03-12T18:36:05Z</dc:date>
    <item>
      <title>Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514773#M2639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am testing some python scripts created originally in ArcGIS 10.3.1/10.5.1 which utilize the ArcHydroTools module. I have installed the latest Arc Hydro package in ArcGIS Pro, but it still doesn't recognize this module. I get the following error when trying to import the module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" ModuleNotFoundError: No module named 'ArcHydroTools' "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this functionality not yet available? Or should I be doing something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried scouring the documentation but it all relates to ArcGIS desktop not Pro.&amp;nbsp;Not that I could find anyway!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 22:51:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514773#M2639</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2018-03-02T22:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514774#M2640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;packages designed for arcmap would also have a separate install for ArcGIS Pro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The location is here&amp;nbsp;&lt;A href="http://downloads.esri.com/archydro/ArcHydro/Setup/Pro/"&gt;http://downloads.esri.com/archydro/ArcHydro/Setup/Pro/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would hope that there are installation instructions for the version of PRO that you are using... I didn't investigate further&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 01:02:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514774#M2640</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-03T01:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514775#M2641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I tried installing the latest version listed there and no luck. I couldn't find any documentation either on this site.. it's all old&amp;nbsp;help files for ArcGIS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 12:11:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514775#M2641</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2018-03-05T12:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514776#M2642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to wait until someone that uses the new version wades in since I think Arc Hydro is in a bit of a limbo at present&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 13:20:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514776#M2642</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-05T13:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514777#M2643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert the Arc_Hydro_Tools_Pro.tbx toolbox to the project Catalog for use,&amp;nbsp; the resource path to the installion is Program Files -&amp;gt; ArcGIS -&amp;gt; Pro -&amp;gt; Resources -&amp;gt; ArcToolBox -&amp;gt;Toolboxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each tool/script in the toolbox has the Syntax of the script, but no Usage or Code samples--those have not really changed once the toolbox is added to the Project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 15:08:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514777#M2643</guid>
      <dc:creator>V_StuartFoote</dc:creator>
      <dc:date>2018-03-05T15:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514778#M2644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip for adding the toolbox, but I am still getting the same error. Either the python functionality isn't there yet or they changed how to access it..&amp;nbsp;which would be unfortunate, since many of the standard tools are accessed exactly the same way under both platforms (with a few notable exceptions - but they're usually well explained). The same should hold true for Arc Hydro.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 19:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514778#M2644</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2018-03-07T19:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514779#M2645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were there any instructions in the *.msi?&lt;/P&gt;&lt;P&gt;Since PRO is a new beast and requires an Anaconda setup and distribution of python.&amp;nbsp; I would not assume that an installation as before would remotely work since it would have to have been installed within the PRO/Anaconda package distribution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:41:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514779#M2645</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-12T17:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514780#M2646</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/252010"&gt;Julio Novoa&lt;/A&gt;&amp;nbsp; gave this good hint in this thread (&lt;A href="https://community.esri.com/thread/105831"&gt;Arc Hydro Setup Versions and Documentation&lt;/A&gt; ) regards needing a README.txt configuration note:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #000000;"&gt;&lt;SPAN style="font-size: 15px; font-family: helvetica, arial, sans-serif;"&gt;1. Extract the zip file to the location where you want to install ArcHydroPro&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000;"&gt;&lt;SPAN style="font-size: 15px; font-family: helvetica, arial, sans-serif;"&gt;2. Edit the file &lt;EM&gt;archydropython.pth&lt;/EM&gt; so that the path points to the location of ArcHydro\Scripts\ArcHydro (e.g. C:\Tools\ArcHydroPro\Scripts\ArcHydro).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000;"&gt;&lt;SPAN style="font-size: 15px; font-family: helvetica, arial, sans-serif;"&gt;3. Copy the edited &lt;EM&gt;archydropython.pth&lt;/EM&gt; to &lt;STRONG&gt;%ProgramFiles%\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000;"&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 15px; font-family: helvetica, arial, sans-serif;"&gt;Otherwise you won't be able to run ArcHydro from ArcGIS Pro. ArcHydro uses Python from the default conda environment &lt;EM&gt;arcgispro-py3&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 18:23:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514780#M2646</guid>
      <dc:creator>V_StuartFoote</dc:creator>
      <dc:date>2018-03-12T18:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514781#M2647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately no readme file currently&amp;nbsp;comes with the MSI file that I can see. Would be most helpful &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 18:36:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514781#M2647</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2018-03-12T18:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514782#M2648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this tip! I'll give it a try&amp;nbsp;hopefully this afternoon and will report back if successful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 18:37:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514782#M2648</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2018-03-12T18:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514783#M2649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stuart,&lt;/P&gt;&lt;P&gt;It took me a while trying to find where Arc Hydro installs itself. The MSI installer does not tell you where it will install, and explorer does not search the "Program Files" folder for some weird 'security' reason&amp;nbsp;(I tried typing "ArcHydro" as my search parameter from the C drive and only files I created referencing Arc Hydro or files I opened recently came up). So through manual sleuthing, I found Arc Hydro 'Pro' installs here:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C:\Program Files\ArcGIS\Pro\Resources\ArcToolBox\Scripts\ArcHydro&lt;/EM&gt; (or likely it will install wherever you chose to install ArcGIS&amp;nbsp;Pro)&lt;/P&gt;&lt;P&gt;I then proceeded to follow your suggestion, and it seems the AH install was smart enough to do that part for me. There was already a &lt;EM&gt;archydropython.pth&lt;/EM&gt;&amp;nbsp;file located in said "site-packages" folder with the path above already in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me clarify, the individual tools within the Arc_Hydro_Toolbox_Pro.tbx do run okay on their own. It's when I try calling the functions through ArcPy it bails with the following message (my script is called "2. Create EFD**" just in case you're wondering what that means):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Start Time&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; March &lt;SPAN class="number token"&gt;12&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2018&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;18&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;23&lt;/SPAN&gt; &lt;SPAN class="token constant"&gt;PM&lt;/SPAN&gt;
Running script CreateEFD&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
Failed script &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; Create &lt;SPAN class="token constant"&gt;EFD&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
 Traceback &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;most recent call last&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp; File &lt;SPAN class="string token"&gt;"Z:\GI\ProvincialMapping\Tools\Python\MNRF_TerrainProcessing-JG-2017-08-09\TerrainScripts\Step C.2. Create EFD - master.py"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; line &lt;SPAN class="number token"&gt;38&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; in &lt;SPAN class="markup token"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;module&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; import ArcHydroTools
ModuleNotFoundError&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; No module named &lt;SPAN class="string token"&gt;'ArcHydroTools'&lt;/SPAN&gt;
 Failed to execute &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CreateEFD&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
Failed at March &lt;SPAN class="number token"&gt;12&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2018&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;18&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;24&lt;/SPAN&gt; &lt;SPAN class="token constant"&gt;PM&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Elapsed Time&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.59&lt;/SPAN&gt; seconds&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514783#M2649</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2021-12-11T22:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514784#M2650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, do your ArcHydro&amp;nbsp; snippets run run with Pro's integrated Python window?&amp;nbsp; Using the Load Code context in the Python prompt...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/get-started/python-window.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/get-started/python-window.htm"&gt;The Python window—ArcPy Get Started | ArcGIS Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way you should be able to tell if it is incomplete environment, or a syntax error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 21:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514784#M2650</guid>
      <dc:creator>V_StuartFoote</dc:creator>
      <dc:date>2018-03-12T21:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514785#M2651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried manually typing in the import command in the Python window, which works with the standard modules. But when I try "import ArcHydroTools", I get the same "No module named.." error. Either the name of the module for calling Arc Hydro has changed or is nonexistent / not available for this version of the tools. We have automated&amp;nbsp;much of our&amp;nbsp;data processing with rather complicated scripts which would not be easily translatable&amp;nbsp;to the Model Builder environment. Nor would I want to do that when I can just stick with ArcGIS Desktop..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 13:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514785#M2651</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2018-03-13T13:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514786#M2652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John, did you ever find a solution for this? I too am in a similar situation. We have a whole AH workflow that has been streamlined with a python script. Calling the ArcHydro&amp;nbsp;module returns the same error for me. It's a shame if this would be the reason we couldn't use Pro for these processes... Any suggestions would be greatly appreciated. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 18:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514786#M2652</guid>
      <dc:creator>deleted-user-yIALGElyA_K9</dc:creator>
      <dc:date>2019-07-17T18:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514787#M2653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacob. There are several reasons why we decided not to take the jump to Pro.. this being one of them. But I imagine the Arc Hydro team is getting close to a viable update (I would keep track of their main thread for this). They're not totally to blame though. As an 'old school' programmer, I've always exercised the concept of 'backwards compatibility' when versioning software or you run the risk of upsetting or alienating your user base (and I&amp;nbsp;sort of&amp;nbsp;see the Arc Hydro team as part of this 'user base' even though they are affiliated with ESRI).&amp;nbsp;In Pro, the decision not to support traditional simple geometric networks (forcing folks towards the more complex Utility Network model instead) and dropping&amp;nbsp;the ability to view read only fields on toolbox forms are a couple&amp;nbsp;things that have really irked me personally. I've raised these issues as well, but they are not seen as priority which is unfortunate. But the main reason is we've built a lot of Python tools for specialized auto processing of large datasets and&amp;nbsp;producing informed status updates/error reporting which Arc Hydro alone&amp;nbsp;lacks.. so for us to needlessly rework the entire workflow (which works perfectly fine otherwise) just makes it not worth our while to port over to Pro. For the foreseeable future, we're sticking&amp;nbsp;with ArcGIS Desktop for surface water related processes, and may also explore open source alternatives (Whitebox is a promising&amp;nbsp;contender for handling LiDAR big data&amp;nbsp;in surface water applications). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 20:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514787#M2653</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2019-07-17T20:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514788#M2654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, John, for getting back to me so quickly. I really appreciate it. When you say, "keep track of their main thread for this," which thread are you referring to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hear what you are saying. A lot is being asked of the community in the "big switch." I will say, and I imagine you'll agree to a certain extent, that ESRi has been surprisingly responsive to the requests of users (with regards to Pro). I do not have the technical background to understand why calling these tools (like any other tools) should be a difficult request to accommodate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 12:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514788#M2654</guid>
      <dc:creator>deleted-user-yIALGElyA_K9</dc:creator>
      <dc:date>2019-07-18T12:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514789#M2655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/105831-arc-hydro-installation-versions-and-documentation"&gt;https://community.esri.com/thread/105831-arc-hydro-installation-versions-and-documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you're right.. they are responsive when it comes to&amp;nbsp;infrastructure, cartographic and online&amp;nbsp;type&amp;nbsp;applications. Their user base is large and some 'niche' users are left struggling, but we'll have to adapt one way or another eventually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 15:49:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514789#M2655</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2019-07-18T15:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514790#M2656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry&amp;nbsp;Jacob.. I may have not responded directly to you.. see below or my&amp;nbsp;comment earlier today on this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 18:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514790#M2656</guid>
      <dc:creator>JohnGaiot</dc:creator>
      <dc:date>2019-07-18T18:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514791#M2657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are still in the process of moving Arc Hydro Tools to Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way to call the tools in pro is to use "import archydro" which is available with the most recent setups. You can try to type it in the Python window in Pro.&lt;/P&gt;&lt;P&gt;Another way is to import each script. The issue with this method is for tools that have the same name in the core product (e.g. flowdirection or flowaccumulation). You may end up importing the core tool instead of the arc hydro tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look in the tools to see how we are calling other tools (mainly calling the scripts for now) but eventually we will use import archydro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a side note, the core is working on a tracing network (hydro network) that will allow performing the hydro network analyses in Pro. it should be available early next year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christine&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 19:10:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514791#M2657</guid>
      <dc:creator>ChristineDartiguenave</dc:creator>
      <dc:date>2019-08-05T19:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Arc Hydro Tools in Python in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514792#M2658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide an example of how to correctly call a archydro tool from a Python 3 script? For example, I'd like to call StreamDefinition from a script, would I import it as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; archydro&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;streamdefinition &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; StreamDefinition‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The only way I can see to then execute the tool is via&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;params &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"facPath"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"threshold"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
StreamDefinition&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;execute&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;params&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I haven't been able to get that to work, is there another way?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/calling-arc-hydro-tools-in-python-in-arcgis-pro/m-p/514792#M2658</guid>
      <dc:creator>TheodoreBarnhart</dc:creator>
      <dc:date>2021-12-11T22:29:50Z</dc:date>
    </item>
  </channel>
</rss>

