<?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 More Laharz issues in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/more-laharz-issues/m-p/1399510#M70127</link>
    <description>&lt;P&gt;I'm hoping someone can help me with some errors generated by the LaharZ model. I'm trying to run the distal zones python tool created by USGS developers, however I have zero knowledge when it comes to python and have only ever used the regular toolbox within ARC pro. Four require inputs of a filled DEM, text file of volumes, textfile of XY coordinates and a string denotation for output grids. Below is the error message I receive when running the program... as well as the full python script attached.&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\josh\Desktop\GLOF\laharz_py_example\laharz_py\distal_inundation.py", line 1621, in &amp;lt;module&amp;gt;&lt;BR /&gt;main(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6])&lt;BR /&gt;File "C:\Users\josh\Desktop\GLOF\laharz_py_example\laharz_py\distal_inundation.py", line 907, in main&lt;BR /&gt;starttimetot = time.clock() # calculate time for program run&lt;BR /&gt;AttributeError: module 'time' has no attribute 'clock'&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 01:42:12 GMT</pubDate>
    <dc:creator>JoshConquest</dc:creator>
    <dc:date>2024-03-22T01:42:12Z</dc:date>
    <item>
      <title>More Laharz issues</title>
      <link>https://community.esri.com/t5/python-questions/more-laharz-issues/m-p/1399510#M70127</link>
      <description>&lt;P&gt;I'm hoping someone can help me with some errors generated by the LaharZ model. I'm trying to run the distal zones python tool created by USGS developers, however I have zero knowledge when it comes to python and have only ever used the regular toolbox within ARC pro. Four require inputs of a filled DEM, text file of volumes, textfile of XY coordinates and a string denotation for output grids. Below is the error message I receive when running the program... as well as the full python script attached.&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\josh\Desktop\GLOF\laharz_py_example\laharz_py\distal_inundation.py", line 1621, in &amp;lt;module&amp;gt;&lt;BR /&gt;main(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6])&lt;BR /&gt;File "C:\Users\josh\Desktop\GLOF\laharz_py_example\laharz_py\distal_inundation.py", line 907, in main&lt;BR /&gt;starttimetot = time.clock() # calculate time for program run&lt;BR /&gt;AttributeError: module 'time' has no attribute 'clock'&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 01:42:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/more-laharz-issues/m-p/1399510#M70127</guid>
      <dc:creator>JoshConquest</dc:creator>
      <dc:date>2024-03-22T01:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: More Laharz issues</title>
      <link>https://community.esri.com/t5/python-questions/more-laharz-issues/m-p/1399527#M70128</link>
      <description>&lt;P&gt;from your other unclosed issue&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/laharz-issues/td-p/1392480" target="_blank"&gt;LaharZ issues - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;can we assume that LaharZ was written in python 2?&lt;/P&gt;&lt;P&gt;Because "time" has no "clock method in python 3&lt;/P&gt;&lt;P&gt;Try an&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import time
dir(time)
...... &lt;/LI-CODE&gt;&lt;P&gt;to see what you can use to translate the code&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 03:23:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/more-laharz-issues/m-p/1399527#M70128</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-03-22T03:23:53Z</dc:date>
    </item>
  </channel>
</rss>

