<?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: giving a constant inside greater than function in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/giving-a-constant-inside-greater-than-function/m-p/1138716#M63616</link>
    <description>&lt;P&gt;yes, now from a code snippet i used&amp;nbsp;&lt;/P&gt;&lt;P&gt;threshold = float(threshold)&lt;/P&gt;&lt;P&gt;and it worked, Thanks I am new to this arcpy and python, thanks for your help DanPatterson &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Jan 2022 05:58:04 GMT</pubDate>
    <dc:creator>abhisa</dc:creator>
    <dc:date>2022-01-30T05:58:04Z</dc:date>
    <item>
      <title>giving a constant inside greater than function</title>
      <link>https://community.esri.com/t5/python-questions/giving-a-constant-inside-greater-than-function/m-p/1138712#M63614</link>
      <description>&lt;P&gt;threshold=arcpy.GetParameterAsText(2)&lt;/P&gt;&lt;P&gt;stream=GreaterThanEqual(facc_clip,threshold)&lt;/P&gt;&lt;P&gt;Error: Input Raster: Dataset 570416 does not exist or is not supported&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here 570416 is the value I input in the script tool, why is this error happening, I can replace threshold with 570416 and it works, but I want each time this to be an user input&lt;/P&gt;&lt;P&gt;PLEASE HELP&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jan 2022 04:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/giving-a-constant-inside-greater-than-function/m-p/1138712#M63614</guid>
      <dc:creator>abhisa</dc:creator>
      <dc:date>2022-01-30T04:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: giving a constant inside greater than function</title>
      <link>https://community.esri.com/t5/python-questions/giving-a-constant-inside-greater-than-function/m-p/1138715#M63615</link>
      <description>&lt;P&gt;getparameterastext&amp;nbsp; returns text.... you want a number, hence you have to convert it to a number&lt;/P&gt;&lt;P&gt;threshold = int(threshold)&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jan 2022 05:56:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/giving-a-constant-inside-greater-than-function/m-p/1138715#M63615</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-01-30T05:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: giving a constant inside greater than function</title>
      <link>https://community.esri.com/t5/python-questions/giving-a-constant-inside-greater-than-function/m-p/1138716#M63616</link>
      <description>&lt;P&gt;yes, now from a code snippet i used&amp;nbsp;&lt;/P&gt;&lt;P&gt;threshold = float(threshold)&lt;/P&gt;&lt;P&gt;and it worked, Thanks I am new to this arcpy and python, thanks for your help DanPatterson &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jan 2022 05:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/giving-a-constant-inside-greater-than-function/m-p/1138716#M63616</guid>
      <dc:creator>abhisa</dc:creator>
      <dc:date>2022-01-30T05:58:04Z</dc:date>
    </item>
  </channel>
</rss>

